public function testConstructorShouldAllowPassingAnotherBootstrapObject() { $bootstrap1 = new TestAsset\ZfAppBootstrap($this->application); $bootstrap2 = new TestAsset\ZfAppBootstrap($bootstrap1); $this->assertSame($bootstrap1, $bootstrap2->getApplication()); }