| Conditions | 3 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testIsExcluded($domains, $excluded, $notExcluded) |
||
| 20 | { |
||
| 21 | $excludedEmailDomains = new ExcludedEmailDomains($domains); |
||
| 22 | foreach ($excluded as $ex) { |
||
| 23 | $this->assertTrue($excludedEmailDomains->matches($ex)); |
||
| 24 | } |
||
| 25 | foreach ($notExcluded as $notEx) { |
||
| 26 | $this->assertFalse($excludedEmailDomains->matches($notEx)); |
||
| 27 | } |
||
| 28 | } |
||
| 29 | public static function dataIsExcluded() |
||
| 40 |