Emarref\Jwt\Encryption\FactoryTest::testAsymmetricCreation PHP Method

testAsymmetricCreation() public method

    public function testAsymmetricCreation()
    {
        $expectedEncryptionInstance = 'Emarref\\Jwt\\Encryption\\Asymmetric';
        $algorithm = new Algorithm\Rs256();
        $this->assertInstanceOf($expectedEncryptionInstance, Factory::create($algorithm));
    }