code: @Test public void configWithProperties(){
    final Properties props=new Properties();
    props.setProperty(ConfigConstants.cacheUpdatePeriod.name(),"10");
    props.setProperty(ConfigConstants.modelUpdatePeriod.name(),"20");
    props.setProperty(ConfigConstants.resourceWatcherUpdatePeriod.name(),"30");
    props.setProperty(ConfigConstants.disableCache.name(),"true");
    props.setProperty(ConfigConstants.gzipResources.name(),"false");
    props.setProperty(ConfigConstants.cacheGzippedContent.name(),"true");
    props.setProperty(ConfigConstants.parallelPreprocessing.name(),"true");
    props.setProperty(ConfigConstants.ignoreEmptyGroup.name(),"false");
    props.setProperty(ConfigConstants.ignoreFailingProcessor.name(),"true");
    props.setProperty(ConfigConstants.connectionTimeout.name(),"5000");
    factory=new PropertyWroConfigurationFactory(props);
    final WroConfiguration config=factory.create();
    LOG.debug("config: {}",config);
    Assert.assertEquals(10,config.getCacheUpdatePeriod());
    Assert.assertEquals(20,config.getModelUpdatePeriod());
    Assert.assertEquals(30,config.getResourceWatcherUpdatePeriod());
    Assert.assertEquals(true,config.isDisableCache());
    Assert.assertEquals(false,config.isGzipEnabled());
    Assert.assertEquals(true,config.isCacheGzippedContent());
    Assert.assertEquals(true,config.isParallelPreprocessing());
    Assert.assertEquals(false,config.isIgnoreEmptyGroup());
    Assert.assertEquals(true,config.isIgnoreFailingProcessor());
    Assert.assertEquals(5000,config.getConnectionTimeout());
  }
  