* @since 0.1.0 */ class Sha384Test extends \PHPUnit_Framework_TestCase { /** * @test * * @covers Lcobucci\JWT\Signer\Hmac\Sha384::getAlgorithmId */ public function getAlgorithmIdMustBeCorrect() { $signer = new Sha384(); $this->assertEquals('HS384', $signer->getAlgorithmId()); } /** * @test * * @covers Lcobucci\JWT\Signer\Hmac\Sha384::getAlgorithm */ public function getAlgorithmMustBeCorrect() { $signer = new Sha384(); $this->assertEquals('sha384', $signer->getAlgorithm()); } }