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