Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function testGetValue() |
||
28 | { |
||
29 | $reader = new ReflectionReader(); |
||
30 | $team = new Team(); |
||
31 | $team->setName('New Name'); |
||
32 | static::assertEquals('New Name', $reader->getValue($team, 'name')); |
||
33 | |||
34 | $reader = new ReflectionReader(true); |
||
35 | static::assertNull($reader->getValue($team, 'name')); |
||
36 | } |
||
37 | } |
||
38 |