| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ExpectationEvaluator |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Evaluate expectations against an outcome |
||
| 13 | * |
||
| 14 | * If outcome is marked as mustBeHandled it must be handled by at least one |
||
| 15 | * expectation. Expectations that does not handle an outcome triggers failure. |
||
| 16 | * |
||
| 17 | * @return array<StatusInterface> |
||
| 18 | */ |
||
| 19 | public function evaluate(OutcomeInterface $outcome): array |
||
| 40 |