示例#1
0
 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);
 }