| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 20 | class AssertionChain extends Beberlei |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Perform a negative assertion. |
||
| 24 | * |
||
| 25 | * @var bool |
||
| 26 | */ |
||
| 27 | private $not = false; |
||
| 28 | |||
| 29 | public function __call($methodName, $args) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Switch chain into negative mode. |
||
| 40 | * |
||
| 41 | * @return AssertionChain |
||
| 42 | */ |
||
| 43 | public function not() |
||
| 49 |