StaticHttpServiceConfig { @Config("uri") public StaticHttpServiceConfig setUris(UriMultiset uris) { this.uris = uris; return this; }  UriMultiset getUris(); @Config("uri") StaticHttpServiceConfig setUris(UriMultiset uris);  }
@Test public void testDefaults() { ConfigAssertions.assertRecordedDefaults(ConfigAssertions.recordDefaults(StaticHttpServiceConfig.class) .setUris(UriMultiset.of())); }
@Test public void testExplicitPropertyMappings() { Map<String, String> properties = ImmutableMap.<String, String>builder() .put("uri", "http: .build(); StaticHttpServiceConfig expected = new StaticHttpServiceConfig() .setUris(UriMultiset.of(URI.create("http: ConfigAssertions.assertFullMapping(properties, expected); }