@Test(expected=InitializationError.class)
public void testClassRunnerHandlesBeforeClassAndAfterClassValidation() throws InitializationError {
new TestClassRunner(WrongBeforeClass.class, new Runner() {
@Override
public Description getDescription() {
return new EmptyDescription();
}
@Override
public void run(RunNotifier notifier) {
// do nothing