| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | public function respond(Match $match, TemplateInterface $template, $message = '') |
||
| 44 | { |
||
| 45 | if ($match->isMatch()) { |
||
| 46 | return; |
||
| 47 | } |
||
| 48 | |||
| 49 | $this->formatter->setMatch($match); |
||
| 50 | $message = ($message) ? $message : $this->formatter->getMessage($template); |
||
| 51 | throw new AssertionException($message); |
||
| 52 | } |
||
| 53 | } |
||
| 54 |