/** * testIndexInvisibleAfterInstallation * * @author Jun Nishikawa <*****@*****.**> * @return void * @expectedException NotFoundException * @expectedExceptionCode 404 */ public function testIndexInvisibleAfterInstallation() { Configure::write('NetCommons.installed', true); $Install = new InstallController(new CakeRequest('/install/index', false), new CakeResponse()); $Install->beforeFilter(); }