/** * Calling parent so we get all field attributes printed instead of only api_friendly_values */ public function __toString() { return print_r(parent::as_json(false), true); }
public function test_can_create_member() { $member = PodioObject::member(array('id' => 1)); $this->assertInstanceOf('PodioObject', $member); }