List<TestOutcome> executedScenarios = runner.getTestOutcomes();
assertThat(executedScenarios.size(), is(2));
TestOutcome testOutcome = executedScenarios.get(0);
TestOutcome failingTestOutcome = executedScenarios.get(1);
TestStep succeeds = testOutcome.getTestSteps().get(0);
TestStep ignored = testOutcome.getTestSteps().get(1);
TestStep pending = testOutcome.getTestSteps().get(2);
TestStep failed = failingTestOutcome.getTestSteps().get(0);
TestStep skipped = failingTestOutcome.getTestSteps().get(1);
assertThat(succeeds.getResult(), is(TestResult.SUCCESS));
assertThat(ignored.getResult(), is(TestResult.IGNORED));
assertThat(pending.getResult(), is(TestResult.PENDING));
assertThat(failed.getResult(), is(TestResult.FAILURE));
assertThat(skipped.getResult(), is(TestResult.SKIPPED));
}