Esempio n. 1
0
 /**
  * @depends testAddLoco
  */
 public function test_listAllTheThings($loco_id)
 {
     $Loco = LocosFactory::CreateLocomotive($loco_id);
     $Locos = new Locos();
     $Locos->listModels();
     $Locos->listGroupings();
     $Locos->listGauges();
     $Locos->listLiveries();
     $Locos->listOperators();
     $Locos->listLiveries();
     $Locos->listAllLocos();
     $Locos->listYears();
     $Locos->listStatus();
     $Locos->listTypes();
     $Locos->listManufacturers();
     $Locos->listWheelArrangements();
     $Locos->listOrgLinkTypes();
     $Locos->classByManufacturer();
     $Locos->classByWheelset();
     $Locos->classByType();
     $Locos->listClasses();
     $Locos->listClasses($Loco->Class->getType()->id);
     $Locos->listClasses(array($Loco->Class->getType()->id));
 }