1 | <?php |
||
8 | final class CertificateTypeTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @test |
||
12 | */ |
||
13 | public function itRepresentsACertificateType() |
||
20 | |||
21 | /** |
||
22 | * @test |
||
23 | */ |
||
24 | public function itGivesAllTypesAsList() |
||
35 | |||
36 | /** |
||
37 | * @test |
||
38 | */ |
||
39 | public function itGivesAllTypesAsStringList() |
||
50 | |||
51 | /** |
||
52 | * @test |
||
53 | */ |
||
54 | public function itTellsIfItsEqualOrNot() |
||
63 | |||
64 | /** |
||
65 | * @test |
||
66 | * @expectedException \InvalidArgumentException |
||
67 | * @expectedExceptionMessage Invalid certificate type test |
||
68 | */ |
||
69 | public function itThrowsAnErrorWhenTypeIsNotKnown() |
||
73 | } |
||
74 |