String[] arguments = new String[] {};
String[] repositoryLocations = new String[] { repository.getLocation().toString() };
String[] required = (String[]) requiredBundles.toArray(new String[requiredBundles.size()]);
OSGiBDTTestWrapper testArguments = new OSGiBDTTestWrapper(null, null, framework, StartPolicy.ONCE_PER_TEST_CLASS,
repositoryLocations, null, systemBundle, required, arguments);
try {
OSGiBDTJUnitRunner runner = new OSGiBDTJUnitRunner(testClass, testArguments, findBundle(testBundle), parameters);
RunNotifier notifier = new RunNotifier();