| 1 | <?php |
||
| 9 | final class BooleanExpectations extends ScalarExpectations |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * BooleanExpectations constructor. |
||
| 13 | * |
||
| 14 | * @param mixed $value |
||
| 15 | */ |
||
| 16 | 3 | public function __construct($value) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * @param mixed $value |
||
| 25 | * |
||
| 26 | * @return bool |
||
| 27 | */ |
||
| 28 | 3 | private function isBool($value): bool |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return BooleanExpectations |
||
| 35 | */ |
||
| 36 | 1 | public function isTrue(): self |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return BooleanExpectations |
||
| 43 | */ |
||
| 44 | 1 | public function isFalse(): self |
|
| 48 | } |
||
| 49 |