Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
24 | public function testDNSWarnings() |
||
25 | { |
||
26 | $validation = new DNSCheckValidation(); |
||
27 | $expectedWarnings = [NoDNSMXRecord::CODE => new NoDNSMXRecord()]; |
||
28 | $validation->isValid("[email protected]", new EmailLexer()); |
||
29 | $this->assertEquals($expectedWarnings, $validation->getWarnings()); |
||
30 | } |
||
31 | |||
40 |