assertThat(view.culprits(), hasItems("Adam", "Ben", "Connor", "Daniel"));
assertThat(view.culprits(), not(hasItem("Errol")));
}
@Test
public void should_only_mention_each_culprit_once() {
<BUG>view = JobView.of(a(job().
whereTheLast(build().wasBrokenBy("Adam")).
</BUG>
andThePrevious(build().wasBrokenBy("Adam", "Ben")).
<BUG>andThePrevious(build().wasBrokenBy("Ben", "Connor"))),

withDefaultConfig());</BUG>
assertThat(view.culprits(), hasSize(3));

assertThat(view.culprits(), hasItems("Adam", "Ben", "Connor", "Daniel"));
assertThat(view.culprits(), not(hasItem("Errol")));
}
@Test
public void should_only_mention_each_culprit_once() {
view = a(jobView().of(
a(job().whereTheLast(build().wasBrokenBy("Adam")).
andThePrevious(build().wasBrokenBy("Adam", "Ben")).
andThePrevious(build().wasBrokenBy("Ben", "Connor")))));
assertThat(view.culprits(), hasSize(3));
