### Question:
JudgmentSearchResultTranslator implements SearchResultTranslator<JudgmentSearchResult> { @Override public void applyHighlighting(Map<String, List<String>> documentHighlighting, JudgmentSearchResult result) { String highlightedContent = highlightFragmentsMerger.merge(documentHighlighting, JudgmentIndexField.CONTENT); result.setContent(highlightedContent); }  @Override JudgmentSearchResult translateSingle(SolrDocument document); @Override void applyHighlighting(Map<String, List<String>> documentHighlighting, JudgmentSearchResult result); @Autowired void setFieldFetcher(SolrFieldFetcher<JudgmentIndexField> fieldFetcher); @Autowired void setHighlightFragmentsMerger(
            SolrHighlightFragmentsMerger<JudgmentIndexField> highlightFragmentsMerger);  }### Answer:
@Test public void applyHighlighting() { Map<String, List<String>> docHighlighting = StringListMap.of(new String[][] { { "content", "first fragment", "second fragment" } }); JudgmentSearchResult result = new JudgmentSearchResult(); resultsTranslator.applyHighlighting(docHighlighting, result); assertEquals("first fragment ... second fragment", result.getContent()); }