Example #1
0
 /**
  * Prepares the environment before running a test.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->Scheduler = new Scheduler(BusSchedulerFactory::getGoDownBusSchedule());
 }
Example #2
0
 public function __construct()
 {
     $this->scheduler = BusSchedulerFactory::getGoDownBusScheduler();
 }