public function testConstructorShouldAllowPassingAnotherBootstrapObject() { // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php'; $bootstrap1 = new ZfAppBootstrap($this->application); $bootstrap2 = new ZfAppBootstrap($bootstrap1); $this->assertSame($bootstrap1, $bootstrap2->getApplication()); }
public function testConstructorShouldAllowPassingAnotherBootstrapObject() { $bootstrap1 = new ZfAppBootstrap($this->application); $bootstrap2 = new ZfAppBootstrap($bootstrap1); $this->assertSame($bootstrap1, $bootstrap2->getApplication()); }