public function test_accessors()
 {
     /** === Test Data === */
     $CODE = 'code';
     $CUR = 'currency';
     $ID = 'id';
     $NOTE = 'note';
     $STOCK_REF = 'stock';
     /** === Call and asserts  === */
     $this->obj->setCode($CODE);
     $this->obj->setCurrency($CUR);
     $this->obj->setNote($NOTE);
     $this->obj->setStockRef($STOCK_REF);
     $this->assertEquals($CODE, $this->obj->getCode());
     $this->assertEquals($CUR, $this->obj->getCurrency());
     $this->assertEquals($NOTE, $this->obj->getNote());
     $this->assertEquals($STOCK_REF, $this->obj->getStockRef());
 }
 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());
 }