/** * @depends testFetchInventoryList */ public function testGetCondition($o) { $get = $o->getCondition(0); $this->assertEquals('NewItem', $get); $this->assertFalse($o->getCondition('wrong')); //not number $this->assertFalse($this->object->getCondition()); //not fetched yet for this object }