| 1 | <?php |
||
| 7 | class FactoryTest extends \PHPUnit_Framework_TestCase |
||
| 8 | { |
||
| 9 | public function testAsymmetricCreation() |
||
| 17 | |||
| 18 | public function testSymmetricCreation() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @expectedException \InvalidArgumentException |
||
| 29 | * @expectedExceptionMessage Algorithm of class "Emarref\Jwt\Encryption\UnknownAlgorithmStub" is neither symmetric or asymmetric. |
||
| 30 | */ |
||
| 31 | public function testUnknownEncryption() |
||
| 37 | } |
||
| 38 |