AssetManagerTest\Config\ModuleServiceManagerConfigTest::mimeResolverAliasTest PHP Method

mimeResolverAliasTest() public method

Test for Issue #134 - Test for specific mime_resolver alias
    public function mimeResolverAliasTest()
    {
        $config = (include __DIR__ . '/../../../config/module.config.php');
        $serviceManagerConfig = new Config($config['service_manager']);
        $serviceManager = new ServiceManager();
        $serviceManagerConfig->configureServiceManager($serviceManager);
        $serviceManager->setService('config', $config);
        $this->assertTrue($serviceManager->has('mime_resolver'));
        $this->assertTrue(is_object($serviceManager->get('mime_resolver')));
    }