public function testGetValue()
 {
     $reader = new AccessorReader();
     $team = new Team();
     $team->setName('New Name');
     static::assertEquals('New Name', $reader->getValue($team, 'name'));
 }
 public function testGetValue()
 {
     $reader = new ReflectionReader();
     $team = new Team();
     $team->setName('New Name');
     static::assertEquals('New Name', $reader->getValue($team, 'name'));
     $reader = new ReflectionReader(true);
     static::assertNull($reader->getValue($team, 'name'));
 }