@Test public void addDoubleSingleQuotes_returns_single_quote() { assert(!"Fuller's".equals(StringFormatter.addDoubleSingleQuotes("Fuller's"))); assert("Fuller''s".equals(StringFormatter.addDoubleSingleQuotes("Fuller's"))); }
public static String addDoubleSingleQuotes(String searchedText) { return searchedText.replaceAll("'", "''"); }
StringFormatter { public static String addDoubleSingleQuotes(String searchedText) { return searchedText.replaceAll("'", "''"); } }
StringFormatter { public static String addDoubleSingleQuotes(String searchedText) { return searchedText.replaceAll("'", "''"); }  }
StringFormatter { public static String addDoubleSingleQuotes(String searchedText) { return searchedText.replaceAll("'", "''"); }  static String getHighlightedText(String text, String toHighlight); static String addDoubleSingleQuotes(String searchedText); static String removeDoubleSingleQuotes(String searchedText); }
StringFormatter { public static String addDoubleSingleQuotes(String searchedText) { return searchedText.replaceAll("'", "''"); }  static String getHighlightedText(String text, String toHighlight); static String addDoubleSingleQuotes(String searchedText); static String removeDoubleSingleQuotes(String searchedText);  }