Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
35 | public function testDNSWarnings() |
||
36 | { |
||
37 | $validation = new DNSCheckValidation(); |
||
38 | $expectedWarnings = [NoDNSMXRecord::CODE => new NoDNSMXRecord()]; |
||
39 | $validation->isValid("[email protected]", new EmailLexer()); |
||
40 | $this->assertEquals($expectedWarnings, $validation->getWarnings()); |
||
41 | } |
||
42 | |||
51 |