### Question:
BBCodeService implements PluginBbCodeService { public String quote(String source, JCUser author) { Validate.notNull(source, "Source cannot be null"); Validate.notNull(author, "Author cannot be null"); return String.format(QUOTE_PATEERN, author.getUsername(), source); }  String quote(String source, JCUser author); String convertBbToHtml(String bbEncodedText); void setPreprocessors(List<TextProcessor> preprocessors); void setPostprocessors(List<TextPostProcessor> postprocessors); String stripBBCodes(String bbCode);  }### Answer:
@Test public void testQuote() { String result = service.quote(SOURCE, USER); assertEquals(result, "[quote=\"name\"]source[/quote]"); }