code: private void executeCustomScriptsBefore(BeforePersistenceTest beforePersistenceTest) {
          if (!persistenceExtensionFeatureResolver.get().shouldCustomScriptBeAppliedBeforeTestRequested()) {
              return;
          }
  
          SqlScriptProvider<ApplyScriptBefore> scriptsProvider =
              SqlScriptProvider.createProviderForScriptsToBeAppliedBeforeTest(beforePersistenceTest.getTestClass(),
                  configuration.get());
  
          executeScriptsEvent.fire(new ExecuteScripts(beforePersistenceTest,
              scriptsProvider.getDescriptorsDefinedFor(beforePersistenceTest.getTestMethod())));
      }
docs: Private methods