@Test public void the_model_should_provide_the_number_of_skipped_test_steps() { testOutcome.recordStep(forASuccessfulTestStepCalled("Step 1")); testOutcome.recordStep(forASuccessfulTestStepCalled("Step 2")); testOutcome.recordStep(forAnIgnoredTestStepCalled("Step 3")); testOutcome.recordStep(forAFailingTestStepCalled("Step 4", new AssertionError("Oh bother!"))); testOutcome.recordStep(forAFailingTestStepCalled("Step 5", new AssertionError("Oh bother!"))); testOutcome.recordStep(forASkippedTestStepCalled("Step 6")); testOutcome.recordStep(forASkippedTestStepCalled("Step 7")); testOutcome.recordStep(forASkippedTestStepCalled("Step 8")); testOutcome.recordStep(forASkippedTestStepCalled("Step 9")); assertThat(testOutcome.getSkippedCount(), is(4)); assertThat(testOutcome.getSkippedOrIgnoredCount(), is(5)); }