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