SystemConfiguration extends CompositeConfiguration { public TimeZone getTimezone() { return TimeZone.getTimeZone(getString("global.timezone", "UTC")); } @Inject  SystemConfiguration(
            @Named("kangaroo_external_configuration")
            final Iterable<Configuration> configurations); TimeZone getTimezone();  }
@Test public void testConfigurationDefaults() { SystemConfiguration config = new SystemConfiguration(Collections.emptyList()); assertEquals(TimeZone.getTimeZone("UTC"), config.getTimezone()); Configuration c = new org.apache.commons.configuration.SystemConfiguration(); c.getKeys().forEachRemaining(s -> assertTrue(s, config.containsKey(s))); }