public void inheritanceAllAny() {//all included, any excluded
Result testResult= JUnitCore.runClasses(InheritanceAllAny.class);
assertThat("unexpected run count", testResult.getRunCount(), is(equalTo(1)));
assertThat("unexpected failure count", testResult.getFailureCount(), is(equalTo(1)));
assertThat("unexpected failure count", testResult.getIgnoreCount(), is(equalTo(0)));
assertFalse(testResult.wasSuccessful());
}
public static class X implements A {}
public static class Y implements B {}
public static class Z implements A, B {}