@Test
public void testLoad() throws IOException {

    final String configFileContent = "key.1 = value.1\n" +
            "date.key = 1979-01-01T00:00:00Z\n" +
            "key.2 = value.2";
    final ByteArrayInputStream inputStream = new ByteArrayInputStream(configFileContent.getBytes());
    final InputStreamReader reader = new InputStreamReader(inputStream);
    configuration.load(reader);
    assertEquals("value.1", configuration.getStringValue("key.1"));
    assertEquals("value.2", configuration.getStringValue("key.2"));
    final Date dateValue = configuration.getDateValue("date.key");
    assertEquals(283996800000L, dateValue.getTime());
}