コード例 #1
0
ファイル: BootstrapAbstractTest.php プロジェクト: netvlies/zf
 public function testInternalIntializersShouldBeRegisteredAsClassResources()
 {
     // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php';
     $bootstrap = new ZfAppBootstrap($this->application);
     $test = $bootstrap->getClassResources();
     $resources = array('foo' => '_initFoo', 'bar' => '_initBar', 'barbaz' => '_initBarbaz');
     $this->assertEquals($resources, $test);
 }
コード例 #2
0
 public function testInternalIntializersShouldBeRegisteredAsClassResources()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $test = $bootstrap->getClassResources();
     $resources = array('foo' => '_initFoo', 'bar' => '_initBar', 'barbaz' => '_initBarbaz');
     $this->assertEquals($resources, $test);
 }