public void prepareDatabase(@Observes(precedence = 40) BeforePersistenceTest beforePersistenceTest)
{
if (persistenceExtensionFeatureResolverInstance.get().shouldCleanupBefore())
{
cleanUpDataEvent.fire(new CleanupData(beforePersistenceTest, persistenceExtensionFeatureResolverInstance.get().getCleanupStrategy()));
}
if (persistenceExtensionScriptingFeatureResolverInstance.get().shouldCleanupUsingScriptBefore())
{
final SqlScriptProvider<CleanupUsingScript> scriptsProvider = SqlScriptProvider.createProviderForCleanupScripts(beforePersistenceTest.getTestClass(), scriptingConfigurationInstance.get());