Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class PropertyTest extends TestCase |
||
11 | { |
||
12 | /** |
||
13 | * @expectedException \JeroenDesloovere\VCard\Exception\PropertyException |
||
14 | * @expectedExceptionMessage The property you are trying to add is empty. |
||
15 | */ |
||
16 | public function testEmptyName(): void |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @expectedException \JeroenDesloovere\VCard\Exception\PropertyException |
||
23 | * @expectedExceptionMessage The property you are trying to add is empty. |
||
24 | */ |
||
25 | public function testEmptyAddress(): void |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @expectedException \JeroenDesloovere\VCard\Exception\PropertyException |
||
32 | * @expectedExceptionMessage The property you are trying to add is empty. |
||
33 | */ |
||
34 | public function testEmptyEmail(): void |
||
35 | { |
||
36 | new Email(); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @expectedException \JeroenDesloovere\VCard\Exception\PropertyException |
||
41 | * @expectedExceptionMessage The property you are trying to add is empty. |
||
42 | */ |
||
43 | public function testEmptyGender(): void |
||
46 | } |
||
47 | } |
||
48 |