public function test_accessors() { /** === Test Data === */ $CODE = 'code'; $CUR = 'currency'; $ID = 'id'; $NOTE = 'note'; $WEBSITE_ID = 'wsid'; /** === Call and asserts === */ $this->obj->setCode($CODE); $this->obj->setCurrency($CUR); $this->obj->setId($ID); $this->obj->setNote($NOTE); $this->obj->setWebsiteId($WEBSITE_ID); $this->assertEquals($CODE, $this->obj->getCode()); $this->assertEquals($CUR, $this->obj->getCurrency()); $this->assertEquals($ID, $this->obj->getId()); $this->assertEquals($NOTE, $this->obj->getNote()); $this->assertEquals($WEBSITE_ID, $this->obj->getWebsiteId()); }