public function test_accessors() { /** === Test Data === */ $CUST_ID = 'cust ID'; $DATE_CHANGED = 'changed at'; $ID = 'id'; $PARENT_ID = 'id'; /** === Call and asserts === */ $this->obj->setCustomerId($CUST_ID); $this->obj->setDateChanged($DATE_CHANGED); $this->obj->setId($ID); $this->obj->setParentId($PARENT_ID); $this->assertEquals($CUST_ID, $this->obj->getCustomerId()); $this->assertEquals($DATE_CHANGED, $this->obj->getDateChanged()); $this->assertEquals($ID, $this->obj->getId()); $this->assertEquals($PARENT_ID, $this->obj->getParentId()); }