| Conditions | 3 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function checkNotification($message, NotificationType $type) |
||
| 34 | { |
||
| 35 | if ($this->hasType($type) && $this->hasMessage($message)) { |
||
| 36 | return; |
||
| 37 | } |
||
| 38 | |||
| 39 | throw new NotificationExpectationMismatchException($type, $message, $this->notificationAccessor->getType(), $this->notificationAccessor->getMessage()); |
||
| 40 | } |
||
| 60 |