@Test public void testReplaceWithDefaultMask3() { String input = "freenet123"; String expected = "***123"; String actual = ForbiddenWordUtils.replace(input); Assert.assertEquals(expected, actual); }
public static String replace(String input) { return replace(input, DEFAULT_MASK); }
ForbiddenWordUtils { public static String replace(String input) { return replace(input, DEFAULT_MASK); } }
ForbiddenWordUtils { public static String replace(String input) { return replace(input, DEFAULT_MASK); }  }
ForbiddenWordUtils { public static String replace(String input) { return replace(input, DEFAULT_MASK); }  static void setForbiddenWordFetchURL(String forbiddenWordFetchURL); static void setReloadInterval(int reloadInterval); static String replace(String input); static String replace(String input, String mask); static boolean containsForbiddenWord(String input); static void initRemoteFetch(); }
ForbiddenWordUtils { public static String replace(String input) { return replace(input, DEFAULT_MASK); }  static void setForbiddenWordFetchURL(String forbiddenWordFetchURL); static void setReloadInterval(int reloadInterval); static String replace(String input); static String replace(String input, String mask); static boolean containsForbiddenWord(String input); static void initRemoteFetch();  }