コード例 #1
0
 /**
  * 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();
 }