Conditions | 2 |
Paths | 2 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
24 | 15 | private function checkExpectations() |
|
25 | { |
||
26 | 15 | $missing_keys = ContextHelper::missingKeys($this->action->expects, $this->organizer->context); |
|
27 | 15 | if ($missing_keys) { |
|
28 | 3 | throw new \Exception("expected '$missing_keys' to be in the context during " . get_class($this->action)); |
|
29 | } |
||
41 |