Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function testGivenAValidGenderAValidVOIsReturned(): void |
||
12 | { |
||
13 | // Arrange |
||
14 | $gender = Gender::MALE; |
||
15 | |||
16 | // Act |
||
17 | $genderVO = Gender::fromValue($gender); |
||
18 | |||
19 | // Assert |
||
20 | $this->assertInstanceOf(Gender::class, $genderVO); |
||
21 | $this->assertEquals($gender, $genderVO->value()); |
||
22 | } |
||
36 |