public function testGetWholeCatalog() { // test to ensure that the object from an fsockopen is valid $catalogObjs = StockInventory::GetInventory(); $this->assertTrue(count($catalogObjs) == 39); }
public function getStockInventory($page) { echo json_encode(StockInventory::GetInventory($page)); }
public static function GetCatalog() { // test to ensure that the object from an fsockopen is valid return StockInventory::GetInventory(1); }