GroupedProperties extends Properties { public String getGroup() { return group; } GroupedProperties();  GroupedProperties(final String group); String getGroup(); void setGroup(final String group); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void shouldConstructGroupedProperties() { final String group = "group1"; final GroupedProperties groupedProperties = new GroupedProperties(group); assertEquals(group, groupedProperties.getGroup()); }