### Question:
ConstitutionalTribunalJudgment extends Judgment { public boolean containsDissentingOpinion(ConstitutionalTribunalJudgmentDissentingOpinion dissentingOpinion) { return this.dissentingOpinions.contains(dissentingOpinion); }  @Transient @Override CourtType getCourtType(); @Transient List<ConstitutionalTribunalJudgmentDissentingOpinion> getDissentingOpinions(); void addDissentingOpinion(ConstitutionalTribunalJudgmentDissentingOpinion dissentingOpinion); boolean containsDissentingOpinion(ConstitutionalTribunalJudgmentDissentingOpinion dissentingOpinion); void removeDissentingOpinion(ConstitutionalTribunalJudgmentDissentingOpinion dissentingOpinion);  }### Answer:
@Test public void containsDissentingOpinion_FOUND() { assertTrue(judgment.containsDissentingOpinion(firstOpinion)); assertTrue(judgment.containsDissentingOpinion(secondOpinion)); }
@Test public void containsDissentingOpinion_NOT_FOUND() { ConstitutionalTribunalJudgmentDissentingOpinion opinion = new ConstitutionalTribunalJudgmentDissentingOpinion(); opinion.setTextContent("textContent"); opinion.addAuthor("Jan Kowalski"); assertFalse(judgment.containsDissentingOpinion(opinion)); }