assertThat(driver.getClass().getName(), is(JUnitCompatibilityDriver.class.getName()));
}
@Test
public void does_not_support_JUnit_tests_if_JUnit_not_on_test_classpath() {
BlacklistClassLoader noJUnitInThisClassLoader = new BlacklistClassLoader("org.junit.", getClass().getClassLoader());
CompositeDriverFinder finder = DriverFinderFactory.createDriverFinder(noJUnitInThisClassLoader, new PrintStream(logOutput));
Driver driver = finder.findTestClassDriver(JUnitTest.class);
assertThat(driver, is(instanceOf(IgnoreSilentlyDriver.class)));