@Test public void mergeHl() throws Exception { assertEquals("Jeden Abend gehe ich von <em class=\"gbifHl\">der Arbeit</em> in den Zoologischen Garten.", ResponseBuilder.mergeHl("Jeden Abend gehe ich von der Arbeit in den Zoologischen Garten.", "<em class=\"gbifHl\">der Arbeit</em>")); }
@VisibleForTesting protected static String mergeHl(String original, String hlSnippet) { String hlCleaned = cleanHighlightingMarks(hlSnippet); return original.replace(hlCleaned, hlSnippet); }
ResponseBuilder { @VisibleForTesting protected static String mergeHl(String original, String hlSnippet) { String hlCleaned = cleanHighlightingMarks(hlSnippet); return original.replace(hlCleaned, hlSnippet); } }
ResponseBuilder { @VisibleForTesting protected static String mergeHl(String original, String hlSnippet) { String hlCleaned = cleanHighlightingMarks(hlSnippet); return original.replace(hlCleaned, hlSnippet); }  }
ResponseBuilder { @VisibleForTesting protected static String mergeHl(String original, String hlSnippet) { String hlCleaned = cleanHighlightingMarks(hlSnippet); return original.replace(hlCleaned, hlSnippet); }  SearchResponse<NameUsageSearchResult, NameUsageSearchParameter> buildSearch(NameUsageSearchRequest searchRequest, QueryResponse response); List<NameUsageSuggestResult> buildSuggest(QueryResponse response); }
ResponseBuilder { @VisibleForTesting protected static String mergeHl(String original, String hlSnippet) { String hlCleaned = cleanHighlightingMarks(hlSnippet); return original.replace(hlCleaned, hlSnippet); }  SearchResponse<NameUsageSearchResult, NameUsageSearchParameter> buildSearch(NameUsageSearchRequest searchRequest, QueryResponse response); List<NameUsageSuggestResult> buildSuggest(QueryResponse response);  }