Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function testResolvesPropertyValue(\ReflectionProperty $reflectionProperty, string $expectedType): void |
||
18 | { |
||
19 | $value = (new FakerValueResolver(Factory::create()))->resolvePropertyValue($reflectionProperty); |
||
20 | |||
21 | $assertionName = 'assertIs' . ucfirst($expectedType); |
||
22 | $this->{$assertionName}($value); |
||
23 | } |
||
51 |