@Test public void should_convert_non_null_values_only() throws Exception { configurationImporter.loadFromArquillianXml("arquillian-dbunit-batchsize-only.xml"); DBUnitConfigurationPropertyMapper dbUnitConfigurationPropertyMapper = new DBUnitConfigurationPropertyMapper(); Map<String, Object> dbunitProperties = dbUnitConfigurationPropertyMapper.map(configuration); assertThat(dbunitProperties).contains(entry(DBUNIT_PROPERTIES + "batchSize", 200)); }
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);  }