@Test @Parameters(method = "expectedDBUnitProperties") public void should_convert_internal_configuration_representation_to_fully_qualified_dbunit_configuration_set( String expectedKey, Object expectedValue) throws Exception { configurationImporter.loadFromArquillianXml("arquillian-dbunit.xml"); DBUnitConfigurationPropertyMapper dbUnitConfigurationPropertyMapper = new DBUnitConfigurationPropertyMapper(); Map<String, Object> dbunitProperties = dbUnitConfigurationPropertyMapper.map(configuration); assertThat(dbunitProperties).contains(entry(expectedKey, expectedValue)); }
public Map<String, Object> map(DBUnitConfiguration configuration) { final Map<String, Object> convertedProperties = new HashMap<String, Object>(); mapProperties(configuration, convertedProperties); mapFeatures(configuration, convertedProperties); return convertedProperties; }
DBUnitConfigurationPropertyMapper { public Map<String, Object> map(DBUnitConfiguration configuration) { final Map<String, Object> convertedProperties = new HashMap<String, Object>(); mapProperties(configuration, convertedProperties); mapFeatures(configuration, convertedProperties); return convertedProperties; } }
DBUnitConfigurationPropertyMapper { public Map<String, Object> map(DBUnitConfiguration configuration) { final Map<String, Object> convertedProperties = new HashMap<String, Object>(); mapProperties(configuration, convertedProperties); mapFeatures(configuration, convertedProperties); return convertedProperties; }  }
DBUnitConfigurationPropertyMapper { public Map<String, Object> map(DBUnitConfiguration configuration) { final Map<String, Object> convertedProperties = new HashMap<String, Object>(); mapProperties(configuration, convertedProperties); mapFeatures(configuration, convertedProperties); return convertedProperties; }  Map<String, Object> map(DBUnitConfiguration configuration); }
DBUnitConfigurationPropertyMapper { public Map<String, Object> map(DBUnitConfiguration configuration) { final Map<String, Object> convertedProperties = new HashMap<String, Object>(); mapProperties(configuration, convertedProperties); mapFeatures(configuration, convertedProperties); return convertedProperties; }  Map<String, Object> map(DBUnitConfiguration configuration);  }