public function Test_get_this_object_attributes() { $expected_attributes = array('child_var' => null, 'child_var_null' => null, 'child_var_string' => 'abc', 'child_var_int' => 123); $resulting_attributes = AkDebug::get_this_object_attributes($this->AkTestingObjectInspectionChildInstance); $this->assertEqual($expected_attributes, $resulting_attributes); }
/** * @deprecated * @uses AkDebug::get_this_object_attributes */ static function get_this_object_attributes($object) { Ak::deprecateMethod(__METHOD__, 'AkDebug::get_this_object_attributes()'); return AkDebug::get_this_object_attributes($object); }