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