@Test public void should_convert_internal_configuration_representation_of_table_type_to_fully_qualified_dbunit_configuration_set() throws Exception { configurationImporter.loadFromArquillianXml("arquillian-dbunit.xml"); DBUnitConfigurationPropertyMapper dbUnitConfigurationPropertyMapper = new DBUnitConfigurationPropertyMapper(); Map<String, Object> dbunitProperties = dbUnitConfigurationPropertyMapper.map(configuration); String[] actualTableType = (String[]) dbunitProperties.get(DBUNIT_PROPERTIES + "tableType"); assertThat(actualTableType).containsOnly("TABLE", "VIEW"); }
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);  }