* Tests whether property values are correctly overridden.
*/
@Test
public void testOverrideValues() throws ConfigurationException
{
BaseHierarchicalConfiguration config = createCombinedConfiguration();
assertEquals("Wrong user", "Admin", config
.getString("base.services.security.login.user"));
assertEquals("Wrong user type", "default", config
.getString("base.services.security.login.user[@type]"));
assertEquals("Wrong password", "BeamMeUp", config
.getString("base.services.security.login.passwd"));
assertEquals("Wrong password type", "secret", config
.getString("base.services.security.login.passwd[@type]"));
}