PropertyConfig { public String getValue() { return value; }  String getKey(); String getValue();  }
@Test public void testGetValue() throws Exception { List<InstanceConfig> instanceConfigs = InstanceConfigTest.getInstanceConfigs(); for (InstanceConfig instanceConfig : instanceConfigs) { List<PropertyConfig> propertyConfigs = instanceConfig.getProperties(); Assert.assertTrue(propertyConfigs.size() <= 2); Assert.assertTrue(propertyConfigs.get(0).getValue().startsWith("v1-")); if (propertyConfigs.size() == 2) { Assert.assertTrue(propertyConfigs.get(1).getValue().startsWith("v2-")); } } }