@Test @UseDataProvider("ctJudgmentsFieldsData") public void fillFields(ConstitutionalTribunalJudgment givenJudgment, List<SolrInputField> expectedFields) { SolrInputDocument doc = new SolrInputDocument(); JudgmentIndexingData indexingData = new JudgmentIndexingData(); indexingData.setJudgment(givenJudgment); ccJudgmentIndexingFiller.fillFields(doc, indexingData); expectedFields.forEach(expectedField -> assertFieldValues(doc, expectedField)); }
@Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); ConstitutionalTribunalJudgment ctJudgment = (ConstitutionalTribunalJudgment) judgmentData.getJudgment(); fillDissentingOpinions(doc, ctJudgment); }
CtJudgmentIndexFieldsFiller extends JudgmentIndexFieldsFiller { @Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); ConstitutionalTribunalJudgment ctJudgment = (ConstitutionalTribunalJudgment) judgmentData.getJudgment(); fillDissentingOpinions(doc, ctJudgment); } }
CtJudgmentIndexFieldsFiller extends JudgmentIndexFieldsFiller { @Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); ConstitutionalTribunalJudgment ctJudgment = (ConstitutionalTribunalJudgment) judgmentData.getJudgment(); fillDissentingOpinions(doc, ctJudgment); }  }
CtJudgmentIndexFieldsFiller extends JudgmentIndexFieldsFiller { @Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); ConstitutionalTribunalJudgment ctJudgment = (ConstitutionalTribunalJudgment) judgmentData.getJudgment(); fillDissentingOpinions(doc, ctJudgment); }  @Override boolean isApplicable(CourtType courtType); @Override void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData); }
CtJudgmentIndexFieldsFiller extends JudgmentIndexFieldsFiller { @Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); ConstitutionalTribunalJudgment ctJudgment = (ConstitutionalTribunalJudgment) judgmentData.getJudgment(); fillDissentingOpinions(doc, ctJudgment); }  @Override boolean isApplicable(CourtType courtType); @Override void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData);  }