public void should_execute_methods_from_same_domain_before_failure() {
StepEventBus.getEventBus().testSuiteStarted(MyTestCase.class);
StepEventBus.getEventBus().testStarted("app_should_work");
StepsInSomeOtherPlace steps = stepFactory.getStepLibraryFor(StepsInSomeOtherPlace.class);
steps.step_one();
String stringValue = steps.returnFoo();
steps.step_two();
StepEventBus.getEventBus().testFinished(testOutcome);
List<TestOutcome> results = stepListener.getTestOutcomes();
TestOutcome testOutcome = results.get(0);
assertThat(testOutcome.getTestSteps().size(), is(2));