assertEquals(TEST_VALUE, config.getStringProperty());
}
@Test
public void testOtherProperties() throws IOException, ConfigurationException {
TypeCoercer coercer = mock(TypeCoercer.class);
Object obj = mock(Object.class);
when(coercer.coerce(TEST_VALUE, Object.class)).thenReturn(obj);
makeMinimalConfig(folder.newFile(TEST_PROPS));
configurator.setTypeCoercer(coercer);
TestOtherProp config = configurator.getConfiguration(TestOtherProp.class);