Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class BooleanMatcher extends ValueMatcher { |
||
12 | /** |
||
13 | * @return $this |
||
14 | */ |
||
15 | public function isTrue() { |
||
16 | $this->startStep('is true') |
||
17 | ->assertTrue(); |
||
18 | |||
19 | return $this; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return $this |
||
24 | */ |
||
25 | public function isNotTrue() { |
||
26 | $this->startStep('is not true') |
||
27 | ->assertNotTrue(); |
||
28 | |||
29 | return $this; |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function isFalse() { |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return $this |
||
44 | */ |
||
45 | public function isNotFalse() { |
||
50 | } |
||
51 | } |