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));
    }