Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function testGivenAValidEmailAValidVOIsReturned(): void |
||
11 | { |
||
12 | // Arrange |
||
13 | $email = "[email protected]"; |
||
14 | |||
15 | // Act |
||
16 | $emailVO = Email::fromValue($email); |
||
17 | |||
18 | // Assert |
||
19 | $this->assertInstanceOf(Email::class, $emailVO); |
||
20 | $this->assertEquals($email, $emailVO->value()); |
||
21 | } |
||
61 |