@Test
  public void should_know_number_of_steps_in_successful_stories_in_a_feature() throws IOException {
    when(mockUserStoryLoader.loadFrom(reportDirectory)).thenReturn(stories);

    List<FeatureResults> features = loader.loadFrom(reportDirectory);

    FeatureResults widgetFeatureResult = features.get(0);
    assertThat(widgetFeatureResult.countStepsInSuccessfulTests(), is(9));
  }
  @Test
  public void should_know_number_of_steps_in_the_stories_of_a_feature() throws IOException {
    when(mockUserStoryLoader.loadFrom(reportDirectory)).thenReturn(stories);

    List<FeatureResults> features = loader.loadFrom(reportDirectory);

    FeatureResults widgetFeatureResult = features.get(0);
    FeatureResults gizmoFeatureResult = features.get(1);
    assertThat(widgetFeatureResult.getTotalSteps(), is(40));
    assertThat(gizmoFeatureResult.getTotalSteps(), is(10));
  }