AssetManagerTest\Config\ModuleServiceManagerConfigTest::mimeResolverInvokableTest PHP Method

mimeResolverInvokableTest() public method

Test for Issue #134 - Test for specific mime_resolver invokable
    public function mimeResolverInvokableTest()
    {
        $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(MimeResolver::class));
        $this->assertTrue(is_object($serviceManager->get(MimeResolver::class)));
    }