/** * @test */ public function getSettablePropertyNamesReturnsPropertyNamesOfStdClass() { $stdClassObject = new stdClass(); $stdClassObject->property = 'string1'; $stdClassObject->property2 = NULL; $settablePropertyNames = Tx_Extbase_Reflection_ObjectAccess::getSettablePropertyNames($stdClassObject); $expectedPropertyNames = array('property', 'property2'); $this->assertEquals($expectedPropertyNames, $settablePropertyNames, 'getSettablePropertyNames returns not all settable properties.'); }