20 lines
415 B
PHP
20 lines
415 B
PHP
<?php
|
|
|
|
namespace NoccyLabs\SimpleJWT\Key;
|
|
|
|
|
|
class JWTPlaintextKeyTest extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/**
|
|
* @covers
|
|
*/
|
|
public function testThePlaintextKeyShouldBeReturned()
|
|
{
|
|
$key = new JWTPlaintextKey("foo");
|
|
$this->assertEquals("foo", $key->getBinaryKey());
|
|
|
|
$key = new JWTPlaintextKey("bar");
|
|
$this->assertEquals("bar", $key->getBinaryKey());
|
|
}
|
|
}
|