App::import('', ''); /** * Test * */ class Test extends { /** * Auto render * * @var boolean */ public $autoRender = false; /** * Redirect action * * @param mixed $url * @param mixed $status * @param boolean $exit * @return void */ public function redirect($url, $status = null, $exit = true) { $this->redirectUrl = $url; } } /** * Test Case * */ class TestCase extends CakeTestCase { /** * Fixtures * * @var array */ public $fixtures = array(''); /** * setUp method * * @return void */ public function setUp() { parent::setUp(); $this-> } /** * tearDown method * * @return void */ public function tearDown() { unset($this->); ClassRegistry::flush(); parent::tearDown(); } /** * test method * * @return void */ public function test() { } }