return output;
}
private JavaArchive dbUnitConfigurationSerializedAsProperties()
{
final DBUnitConfiguration dbUnitConfigurationPrototype = new DBUnitConfiguration();
final Map<String, String> extensionProperties = extractExtensionProperties(arquillianDescriptorInstance.get(), dbUnitConfigurationPrototype.getQualifier());
final ByteArrayOutputStream properties = new PropertiesSerializer(dbUnitConfigurationPrototype.getPrefix()).serializeToProperties(extensionProperties);
return ShrinkWrap.create(JavaArchive.class)
.addAsResource(new ByteArrayAsset(properties.toByteArray()), new DBUnitConfiguration().getPrefix() + "properties");
}