Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ExpectationEvaluator |
||
13 | { |
||
14 | /** |
||
15 | * Evaluate expectations against a set of outcomes |
||
16 | * |
||
17 | * All outcomes must be handled by at least one expectation. Expectations |
||
18 | * that does not handle an outcome defaults to failure. |
||
19 | * |
||
20 | * @param ExpectationInterface[] $expectations |
||
21 | * @param OutcomeInterface[] $outcomes |
||
22 | * @return Status[] |
||
23 | */ |
||
24 | public function evaluate(array $expectations, array $outcomes): array |
||
50 |