Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function testResultIsValidEmail() |
||
13 | { |
||
14 | $result = new ValidEmail(); |
||
15 | $expectedCode = 0; |
||
16 | $expectedDescription = "Valid email"; |
||
17 | |||
18 | $this->assertTrue($result->isValid()); |
||
19 | $this->assertEquals($expectedCode, $result->code()); |
||
20 | $this->assertEquals($expectedDescription, $result->description()); |
||
21 | } |
||
22 | |||
35 | } |