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); }
public function testInternalIntializersShouldBeRegisteredAsClassResources() { $bootstrap = new ZfAppBootstrap($this->application); $test = $bootstrap->getClassResources(); $resources = array('foo' => '_initFoo', 'bar' => '_initBar', 'barbaz' => '_initBarbaz'); $this->assertEquals($resources, $test); }