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