/** * @covers BeanUtils::getValues */ public function testGetValues() { $beans = $this->generateBeans(4); $actual = \BeanUtils::getValues($beans, "getId"); $expected = array(0, 1, 2, 3); $this->assertEquals($expected, $actual); }