private void addDBUnitConfigurationSerializedAsProperties(final JavaArchive archiveToExtend)
{
final DBUnitConfiguration dbUnitConfigurationPrototype = new DBUnitConfiguration();
final Map<String, String> extensionProperties = extractExtensionProperties(arquillianDescriptorInstance.get(), dbUnitConfigurationPrototype.getQualifier());
final ByteArrayOutputStream properties = new PropertiesSerializer(dbUnitConfigurationPrototype.getPrefix()).serializeToProperties(extensionProperties);
archiveToExtend.addAsResource(new ByteArrayAsset(properties.toByteArray()), new DBUnitConfiguration().getPrefix() + "properties");
}