public function testSetManager() { $manager = $this->getMock('Enlight_Plugin_PluginCollection', array('Application'), array(), '', false); $this->namespace->setManager($manager); $this->assertInstanceOf('Enlight_Plugin_PluginCollection', $this->namespace->Manager()); }