### Question:
CanBeDiagnosedForProblems implements Feature<CanBeDiagnosedForProblems.Problems> { @Override public CanBeDiagnosedForProblems of(JobView jobView) { this.job = jobView; return this; } CanBeDiagnosedForProblems(BuildFailureAnalyzerDisplayedField displayedField); @Override CanBeDiagnosedForProblems of(JobView jobView); @Override Problems asJson();  }### Answer:
@Test public void should_describe_known_problems() { String rogueAi = "Pod bay doors didn't open"; job = a(jobView().which(new CanBeDiagnosedForProblems(BuildFailureAnalyzerDisplayedField.Name)).of( a(job().whereTheLast(build().finishedWith(FAILURE).and().knownProblems(rogueAi))))); assertThat(diagnosedFailuresOf(job).value(), hasItem(rogueAi)); }