芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/vendor/lcobucci/jwt/test/unit/Signer/Ecdsa/Sha384Test.php
* @since 2.1.0 */ class Sha384Test extends \PHPUnit\Framework\TestCase { /** * @test * * @uses Lcobucci\JWT\Signer\Ecdsa * @uses Lcobucci\JWT\Signer\OpenSSL * * @covers Lcobucci\JWT\Signer\Ecdsa\Sha384::getAlgorithmId */ public function getAlgorithmIdMustBeCorrect() { $signer = new Sha384(); $this->assertEquals('ES384', $signer->getAlgorithmId()); } /** * @test * * @uses Lcobucci\JWT\Signer\Ecdsa * @uses Lcobucci\JWT\Signer\OpenSSL * * @covers Lcobucci\JWT\Signer\Ecdsa\Sha384::getAlgorithm */ public function getAlgorithmMustBeCorrect() { $signer = new Sha384(); $this->assertEquals('sha384', $signer->getAlgorithm()); } /** * @test * * @uses Lcobucci\JWT\Signer\Ecdsa * @uses Lcobucci\JWT\Signer\OpenSSL * * @covers Lcobucci\JWT\Signer\Ecdsa\Sha384::getKeyLength */ public function getKeyLengthMustBeCorrect() { $signer = new Sha384(); $this->assertEquals(96, $signer->getKeyLength()); } }