@Test(expected=NullPointerException.class) public void addToJudgment_ReferencedCourtCasesNull() { referencedRegulationsJudgmentUpdater.addToJudgment(judgment, null); }
@Override public void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedRegulations); for (JudgmentReferencedRegulation referencedRegulation : referencedRegulations) { judgment.addReferencedRegulation(referencedRegulation); } }
ReferencedRegulationsJudgmentUpdater implements JudgmentUpdater<List<JudgmentReferencedRegulation>> { @Override public void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedRegulations); for (JudgmentReferencedRegulation referencedRegulation : referencedRegulations) { judgment.addReferencedRegulation(referencedRegulation); } } }
ReferencedRegulationsJudgmentUpdater implements JudgmentUpdater<List<JudgmentReferencedRegulation>> { @Override public void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedRegulations); for (JudgmentReferencedRegulation referencedRegulation : referencedRegulations) { judgment.addReferencedRegulation(referencedRegulation); } }  }
ReferencedRegulationsJudgmentUpdater implements JudgmentUpdater<List<JudgmentReferencedRegulation>> { @Override public void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedRegulations); for (JudgmentReferencedRegulation referencedRegulation : referencedRegulations) { judgment.addReferencedRegulation(referencedRegulation); } }  @Override void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations); }
ReferencedRegulationsJudgmentUpdater implements JudgmentUpdater<List<JudgmentReferencedRegulation>> { @Override public void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations) { Preconditions.checkNotNull(judgment); Preconditions.checkNotNull(referencedRegulations); for (JudgmentReferencedRegulation referencedRegulation : referencedRegulations) { judgment.addReferencedRegulation(referencedRegulation); } }  @Override void addToJudgment(Judgment judgment, List<JudgmentReferencedRegulation> referencedRegulations);  }