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