Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class OpenSSLKeyLoaderTest extends AbstractTestKeyLoader |
||
21 | { |
||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public function setUp() |
||
26 | { |
||
27 | $keys_path = dirname(__FILE__).'\keys\\'; |
||
28 | $this->keyLoader = new OpenSSLKeyLoader('anyPassphrase', $keys_path); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @expectedException \RuntimeException |
||
33 | */ |
||
34 | public function testLoadInvalidPublicKey() |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @expectedException \RuntimeException |
||
43 | */ |
||
44 | public function testLoadInvalidPrivateKey() |
||
49 | } |
||
50 | } |
||
51 |