* @since 0.1.0 */ class Sha512Test extends \PHPUnit\Framework\TestCase { /** * @test * * @covers Lcobucci\JWT\Signer\Hmac\Sha512::getAlgorithmId */ public function getAlgorithmIdMustBeCorrect() { $signer = new Sha512(); $this->assertEquals('HS512', $signer->getAlgorithmId()); } /** * @test * * @covers Lcobucci\JWT\Signer\Hmac\Sha512::getAlgorithm */ public function getAlgorithmMustBeCorrect() { $signer = new Sha512(); $this->assertEquals('sha512', $signer->getAlgorithm()); } }