public static CommonsConfigurationTimeLimiterConfiguration of(final Configuration configuration) throws ConfigParseException {
        CommonsConfigurationTimeLimiterConfiguration obj = new CommonsConfigurationTimeLimiterConfiguration();
        try {
            obj.getConfigs().putAll(obj.getProperties(configuration.subset(TIME_LIMITER_CONFIGS_PREFIX)));
            obj.getInstances().putAll(obj.getProperties(configuration.subset(TIME_LIMITER_INSTANCES_PREFIX)));
            return obj;
        } catch (Exception ex) {
            throw new ConfigParseException("Error creating timelimiter configuration", ex);
        }
    }
@Test
    public void testFromPropertiesFile() throws ConfigurationException {
        Configuration config = CommonsConfigurationUtil.getConfiguration(PropertiesConfiguration.class, TestConstants.RESILIENCE_CONFIG_PROPERTIES_FILE_NAME);

        CommonsConfigurationTimeLimiterConfiguration timeLimiterConfiguration  = CommonsConfigurationTimeLimiterConfiguration.of(config);

        assertConfigs(timeLimiterConfiguration.getConfigs());
        assertInstances(timeLimiterConfiguration.getInstances());
    }