factory = new PropertyWroConfigurationFactory();
}
@Test
public void createDefaultConfig() {
final WroConfiguration config = factory.create();
LOG.debug("config: {}", config);
assertNotNull(config);
assertEquals(0, config.getModelUpdatePeriod());
assertEquals(0, config.getCacheUpdatePeriod());
assertEquals(0, config.getResourceWatcherUpdatePeriod());
assertEquals(false, config.isResourceWatcherAsync());
assertEquals(true, config.isDebug());
assertEquals(true, config.isGzipEnabled());
assertEquals(true, config.isIgnoreMissingResources());
assertEquals(true, config.isIgnoreEmptyGroup());
assertEquals(false, config.isIgnoreFailingProcessor());
assertEquals(true, config.isJmxEnabled());
assertEquals(false, config.isCacheGzippedContent());
assertEquals(false, config.isParallelPreprocessing());
assertEquals(true, config.isMinimizeEnabled());
assertEquals(WroConfiguration.DEFAULT_CONNECTION_TIMEOUT, config.getConnectionTimeout());
assertEquals(WroConfiguration.DEFAULT_ENCODING, config.getEncoding());
assertEquals(WroConfiguration.DEFAULT_CONNECTION_TIMEOUT, config.getConnectionTimeout());
}