@Test(expected=NullPointerException.class) public void addToJudgment_ReferencedCourtCasesNull() { referencedCourtCasesJudgmentUpdater.addToJudgment(judgment, null); }
@Override public void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedCourtCases); for (ReferencedCourtCase referencedCourtCase : referencedCourtCases) { judgment.addReferencedCourtCase(referencedCourtCase); } }
ReferencedCourtCasesJudgmentUpdater implements JudgmentUpdater<List<ReferencedCourtCase>> { @Override public void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedCourtCases); for (ReferencedCourtCase referencedCourtCase : referencedCourtCases) { judgment.addReferencedCourtCase(referencedCourtCase); } } }
ReferencedCourtCasesJudgmentUpdater implements JudgmentUpdater<List<ReferencedCourtCase>> { @Override public void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedCourtCases); for (ReferencedCourtCase referencedCourtCase : referencedCourtCases) { judgment.addReferencedCourtCase(referencedCourtCase); } }  }
ReferencedCourtCasesJudgmentUpdater implements JudgmentUpdater<List<ReferencedCourtCase>> { @Override public void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedCourtCases); for (ReferencedCourtCase referencedCourtCase : referencedCourtCases) { judgment.addReferencedCourtCase(referencedCourtCase); } }  @Override void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases); }
ReferencedCourtCasesJudgmentUpdater implements JudgmentUpdater<List<ReferencedCourtCase>> { @Override public void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedCourtCases); for (ReferencedCourtCase referencedCourtCase : referencedCourtCases) { judgment.addReferencedCourtCase(referencedCourtCase); } }  @Override void addToJudgment(Judgment judgment, List<ReferencedCourtCase> referencedCourtCases);  }