Returns the condition of the items to return. New | Used | Collectible | Refurbished | All
public getCondition ( ) : string | ||
리턴 | string |
public function testGetCondition() { $lookup = new Lookup(); $this->assertEquals(null, $lookup->getCondition()); $lookup->setCondition('Used'); $this->assertEquals('Used', $lookup->getCondition()); }
public function testConditionGetterAndSetter() { $lookup = new Lookup(); $lookup->setCondition('All'); $this->assertEquals('All', $lookup->getCondition()); }