Emarref\Jwt\Encryption\FactoryTest::testSymmetricCreation PHP 메소드

testSymmetricCreation() 공개 메소드

    public function testSymmetricCreation()
    {
        $expectedEncryptionInstance = 'Emarref\\Jwt\\Encryption\\Symmetric';
        $algorithm = new Algorithm\Hs256('secret');
        $this->assertInstanceOf($expectedEncryptionInstance, Factory::create($algorithm));
    }