private Set<ResourceDescriptor<?>> fetchAllDataResources(TestClass testClass)
{
final Set<ResourceDescriptor<?>> allDataSets = new HashSet<ResourceDescriptor<?>>();
final DataSetProvider dataSetProvider = new DataSetProvider(new MetadataExtractor(testClass), dbunitConfigurationInstance.get());
final ExpectedDataSetProvider expectedDataSetProvider = new ExpectedDataSetProvider(new MetadataExtractor(testClass), dbunitConfigurationInstance.get());
final SqlScriptProvider<ApplyScriptBefore> scriptsAppliedBeforeTestProvider = SqlScriptProvider.createProviderForScriptsToBeAppliedBeforeTest(testClass, scriptingConfigurationInstance.get());
final SqlScriptProvider<ApplyScriptAfter> scriptsAppliedAfterTestProvider = SqlScriptProvider.createProviderForScriptsToBeAppliedAfterTest(testClass, scriptingConfigurationInstance.get());
final SqlScriptProvider<CleanupUsingScript> cleanupScriptsProvider = SqlScriptProvider.createProviderForCleanupScripts(testClass, scriptingConfigurationInstance.get());
final SqlScriptProvider<CreateSchema> createSchemaScripts = SqlScriptProvider.createProviderForCreateSchemaScripts(testClass, scriptingConfigurationInstance.get());
allDataSets.addAll(dataSetProvider.getDescriptors(testClass));
allDataSets.addAll(expectedDataSetProvider.getDescriptors(testClass));
allDataSets.addAll(extractDtds(dataSetProvider.getDescriptors(testClass)));
allDataSets.addAll(extractDtds(expectedDataSetProvider.getDescriptors(testClass)));
allDataSets.addAll(scriptsAppliedBeforeTestProvider.getDescriptors(testClass));
allDataSets.addAll(scriptsAppliedAfterTestProvider.getDescriptors(testClass));
allDataSets.addAll(cleanupScriptsProvider.getDescriptors(testClass));
allDataSets.addAll(createSchemaScripts.getDescriptors(testClass));