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