| Total Complexity | 4 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 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 | return $this; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return $this |
||
| 23 | */ |
||
| 24 | public function isNotTrue() { |
||
| 25 | $this->startStep('is not true') |
||
| 26 | ->assertNotTrue(); |
||
| 27 | return $this; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return $this |
||
| 32 | */ |
||
| 33 | public function isFalse() { |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return $this |
||
| 41 | */ |
||
| 42 | public function isNotFalse() { |
||
| 46 | } |
||
| 47 | } |