| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 74 | 28 | public function validateSubscriber(BrowserTestCase $test_case) |
|
| 75 | { |
||
| 76 | 28 | $event_test_case = $this->getTestCase(); |
|
| 77 | |||
| 78 | 28 | return get_class($event_test_case) === get_class($test_case) |
|
| 79 | 28 | && $event_test_case->getName() === $test_case->getName() |
|
| 80 | 28 | && $event_test_case->getBrowser()->getChecksum() === $test_case->getBrowser()->getChecksum(); |
|
| 81 | } |
||
| 82 | |||
| 84 |