Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function assertPropertiesCorrect(array $expectedValues, ValueObject $actualValueObject) |
||
23 | { |
||
24 | foreach ($expectedValues as $propertyName => $propertyValue) { |
||
25 | self::assertSame( |
||
26 | $propertyValue, |
||
27 | $actualValueObject->$propertyName, |
||
28 | sprintf('Property %s value is incorrect', $propertyName) |
||
29 | ); |
||
30 | } |
||
31 | } |
||
32 | } |
||
33 |