String[] packagesToIgnore = new String[0];
MockClassLoader mockLoader = new MockClassLoader(classesToLoadByMockClassloader, packagesToIgnore);
mockLoader.setMockTransformerChain(mockTransformerChain);
PrepareForTestExtractorImpl testClassesExtractor = new PrepareForTestExtractorImpl();
StaticConstructorSuppressExtractorImpl staticInitializationExtractor = new StaticConstructorSuppressExtractorImpl();
PowerMockIgnorePackagesExtractorImpl ignorePackagesExtractor = new PowerMockIgnorePackagesExtractorImpl();
mockLoader.addIgnorePackage(ignorePackagesExtractor.getPackagesToIgnore(testClass));
mockLoader.addClassesToModify(testClassesExtractor.getTestClasses(testClass));
mockLoader.addClassesToModify(staticInitializationExtractor.getTestClasses(testClass));
registerProxyframework(mockLoader);
new MockPolicyInitializerImpl(testClass).initialize(mockLoader);
return new ClassloaderExecutor(mockLoader);