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