### Question:
BBForeignLinksPostprocessor implements TextPostProcessor { @Override public String postProcess(String bbDecodedText) { HttpServletRequest httpServletRequest = getServletRequest(); return addRelNoFollowToForeignLinks(bbDecodedText, httpServletRequest.getServerName()); }  @Override String postProcess(String bbDecodedText);  }### Answer:
@Test(dataProvider = "preProcessingImages") public void postprocessorShouldCorrectlyReplaceSpaceInImg(String incomingText, String outcomingText) { assertEquals(service.postProcess(incomingText), outcomingText); }
@Test(dataProvider = "preProcessingSubDomainLinks") public void postprocessorShouldCorrectlyRecognizeSubDomains(String incomingText, String outcomingText) { assertEquals(service.postProcess(incomingText), outcomingText); }
@Test(dataProvider = "preProcessingLocalLinks") public void postprocessorShouldCorrectlyRecognizeLocalLinks(String incomingText, String outcomingText) { assertEquals(service.postProcess(incomingText), outcomingText); }