Dispatcher =& new TestProjectTaskMockShellDispatcher(); $this->Dispatcher->shellPaths = Configure::read('shellPaths'); $this->Task =& new MockProjectTask($this->Dispatcher); $this->Task->Dispatch =& $this->Dispatcher; $this->Task->path = TMP; } /** * tearDown method * * @return void * @access public */ function endTest() { ClassRegistry::flush(); } } ?>