@Test
public void
shouldThrowMeaningfulMockitoExceptionIfNoValidJUnitFound() throws Exception{
//given
RunnerProvider provider = new RunnerProvider() {
public boolean isJUnit45OrHigherAvailable() {
return false;
}
public RunnerImpl newInstance(String runnerClassName, Class<?> constructorParam) throws Exception {
throw new InitializationError("Where is JUnit, dude?");