### Question:
ScJudgmentIndexFieldsFiller extends JudgmentIndexFieldsFiller { @Override public void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData) { super.fillFields(doc, judgmentData); SupremeCourtJudgment supremeCourtJudgment = (SupremeCourtJudgment) judgmentData.getJudgment(); fillScJudmentForm(doc, supremeCourtJudgment); fillPersonnelType(doc, supremeCourtJudgment); fillChambers(doc, supremeCourtJudgment); }  @Override boolean isApplicable(CourtType courtType); @Override void fillFields(SolrInputDocument doc, JudgmentIndexingData judgmentData);  }### Answer:
@Test @UseDataProvider("scJudgmentsFieldData") public void fillFields(SupremeCourtJudgment givenJudgment, List<SolrInputField> expectedFields) { SolrInputDocument doc = new SolrInputDocument(); JudgmentIndexingData indexingData = new JudgmentIndexingData(); indexingData.setJudgment(givenJudgment); scJudgmentIndexFieldsFiller.fillFields(doc, indexingData); expectedFields.forEach(expectedField -> assertFieldValues(doc, expectedField)); }