Ejemplo n.º 1
0
 /**
  * Chooses which fixtures to load for a given test
  *
  * Each parameter is a code module name that corresponds to a fixture, i.e. package, procedure or function name.
  *
  * @return void
  * @throws \Exception when no fixture manager is available.
  */
 public function loadMethodFixtures()
 {
     if (empty($this->methodFixtureManager)) {
         throw new Exception('No fixture manager to load the test fixture');
     }
     $args = func_get_args();
     foreach ($args as $class) {
         $this->methodFixtureManager->loadSingle($class, null, $this->dropTables);
     }
 }