| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 20 | public function testEmailWithWarningsIsInvalid() | ||
| 21 |     { | ||
| 22 | $validation = new NoRFCWarningsValidation(); | ||
| 23 | |||
| 24 |         $this->assertFalse($validation->isValid(str_repeat('x', 254).'@example.com', new EmailLexer())); // too long email | ||
| 25 | $this->assertInstanceOf(RFCWarnings::class, $validation->getError()); | ||
| 26 | } | ||
| 27 | |||
| 36 |