assertThat(view.hasKnownFailures(), is(true));
assertThat(view.knownFailures(), contains(rogueAi));
}
@Test
public void public_api_should_return_reasonable_defaults_for_jobs_that_never_run() throws Exception {
<BUG>view = JobView.of(

a(job().thatHasNeverRun()),

withDefaultConfig());</BUG>
assertThat(view.lastBuildName(), is(""));

assertThat(view.hasKnownFailures(), is(true));
assertThat(view.knownFailures(), contains(rogueAi));
}
@Test
public void public_api_should_return_reasonable_defaults_for_jobs_that_never_run() throws Exception {
view = a(jobView().of(
a(job().thatHasNeverRun())));
assertThat(view.lastBuildName(), is(""));
