/**
* Test two same properties.
*/
public void testTwoSameProperties() {
ConfigString string = new ConfigString("before @{a.b} after @{a.b}", variables, properties);
assertTrue("sub failed in expand", string
.expand("mark", properties));
assertEquals("before A.B after A.B", string.toString());
string.reset(); // Reintialize
}