public function testStylesCompile()
 {
     $setupAfterCache = new SetupAfterCache(BootstrapManager::getInstance(), $GLOBALS);
     $setupAfterCache->process();
     $resourceLoaderContext = $this->getMockBuilder('\\ResourceLoaderContext')->disableOriginalConstructor()->getMock();
     $module = new ResourceLoaderBootstrapModule($GLOBALS['wgResourceModules']['ext.bootstrap.styles']);
     $module->setCache(new HashBagOStuff());
     $styles = $module->getStyles($resourceLoaderContext);
     $css = CSSMin::minify($styles['all']);
     $this->assertNotEquals('', $css);
 }
 public function testSupportsURLLoading()
 {
     $instance = new ResourceLoaderBootstrapModule();
     $this->assertFalse($instance->supportsURLLoading());
 }