assertEquals(1, result.getRunCount());
}
@Test public void filteringAffectsPlan() throws Exception {
Runner runner = Request.method(OneTimeSetup.class, "one").getRunner();
assertEquals(1, runner.testCount());
}
@Test public void nonexistentMethodCreatesFailure() throws Exception {
assertEquals(1, new JUnitCore().run(
Request.method(OneTimeSetup.class, "thisMethodDontExist"))