/** * Chooses which fixtures to load for a given test * * @param string $fixture Each parameter is a model name that corresponds to a * fixture, i.e. 'Post', 'Author', etc. * @return void * @see CakeTestCase::$autoFixtures */ public function loadFixtures() { if (empty($this->fixtureManager)) { throw new Exception(__d('cake_dev', 'No fixture manager to load the test fixture')); } $args = func_get_args(); foreach ($args as $class) { $this->fixtureManager->loadSingle($class); } }