public function testCanGetService() { $loader = new ModuleLoader(array('Baz' => __DIR__ . '/../../_files/Baz')); $this->assertInstanceOf('Zend\\ServiceManager\\ServiceLocatorInterface', $loader->getServiceManager()); $this->assertInstanceOf('Zend\\ModuleManager\\ModuleManager', $loader->getModuleManager()); $this->assertInstanceOf('Zend\\Mvc\\ApplicationInterface', $loader->getApplication()); }