16 lines
382 B
PHP
16 lines
382 B
PHP
|
<?php
|
||
|
|
||
|
namespace NoccyLabs\SimpleJwt\Key;
|
||
|
|
||
|
|
||
|
class JwtPlaintextKeyTest extends \PhpUnit\Framework\TestCase
|
||
|
{
|
||
|
public function testThePlaintextKeyShouldBeReturned()
|
||
|
{
|
||
|
$key = new JwtPlaintextKey("foo");
|
||
|
$this->assertEquals("foo", $key->getBinaryKey());
|
||
|
|
||
|
$key = new JwtPlaintextKey("bar");
|
||
|
$this->assertEquals("bar", $key->getBinaryKey());
|
||
|
}
|
||
|
}
|