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