@Test
public void testLoadingConfigurationGivenAnExistingFile() throws MalformedURLException {

    // GIVEN
    final URL url = existingConfigFile.toURI().toURL();
    // WHEN
    final Properties configuration = DbUnitConfigurationLoader.loadConfiguration(url);
    // THEN
    assertThat(configuration.getProperty(DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES), equalTo("true"));
    assertThat(configuration.getProperty(DatabaseConfig.PROPERTY_BATCH_SIZE), equalTo("1000"));
    assertThat(configuration.keySet().size(), equalTo(2));
}