/** * testCase */ public function testSetCollection() { $collection = $this->getMock('Enlight_Plugin_PluginCollection'); $this->bootstrap->setCollection(null); $this->assertNull($this->bootstrap->Collection()); $this->bootstrap->setCollection($collection); $this->assertInstanceOf('Enlight_Plugin_PluginCollection', $this->bootstrap->Collection()); }