### Question:
Utils { public static String stripHtml(String s) { if (s != null) { return s.replaceAll("<.*?>", ""); } return null; } private  Utils(); static boolean canUseAsPort(int port); static boolean isPrivilegedPort(int port); static boolean supportsOption(String option, String javaHome, String installPath); static boolean createFile(File f); static String getPath(String parentPath, String relativePath); static String getScriptPath(String script); static String getPath(File f); static boolean isDescendant(File descendant, File path); static boolean parentDirectoryExists(String path); static boolean fileExists(String path); static boolean directoryExistsAndIsNotEmpty(String path); static boolean isConfigurationDn(String dn); static boolean areDnsEqual(String dn1, String dn2); static boolean insureParentsExist(File f); static boolean createDirectory(String path); static boolean createDirectory(File f); static void createFile(File path, InputStream is); static void createProtectedFile(String path, String content); static LocalizableMessage getMessageFromCollection(Collection<LocalizableMessage> col, String separator); static String getDefaultServerLocation(); static synchronized boolean hasEnoughSpace(String directoryPath, long bytes); static LocalizableMessage getMessage(TopologyCacheException te); static int setPermissionsUnix(ArrayList<String> paths, String permissions); static int setPermissionsUnix(String path, String permissions); static boolean isCli(); static InitialLdapContext createStartTLSContext(String ldapsURL, String dn, String pwd, int timeout,
      Hashtable<String, String> env, TrustManager trustManager, HostnameVerifier verifier); static LocalizableMessage getMessageForException(NamingException ne); static String getInstallPathFromClasspath(); static String getInstancePathFromInstallPath(String installPath); static int getCommandLineMaxLineWidth(); static void setMacOSXMenuBar(LocalizableMessage appName); static int getNumberZipEntries(); static String listToString(List<?> list, String separator, String prefix, String suffix); static String getFileSystemPermissions(File file); static String breakHtmlString(CharSequence cs, int maxll); static String convertHtmlBreakToLineSeparator(String s); static String stripHtml(String s); static boolean containsHtml(String text); static EmptyPrintStream getEmptyPrintStream(); static long getServerClock(InitialLdapContext ctx); static void checkJavaVersion(); static boolean isLocalHost(String host); static String getHtml(String text); static T getCustomizedObject(String fieldName, T defaultValue, Class<T> valueClass); static String addWordBreaks(String htmlString, int from, int spacing); static String getDataDisplayString(final UserData userInstallData); static String getSecurityOptionsString(SecurityOptions ops, boolean html); static String getFormattedEquivalentCommandLine(List<String> cmd, ProgressMessageFormatter formatter); static String escapeCommandLineValue(String value); static List<String> getSetupEquivalentCommandLine(final UserData userData); static List<List<String>> getDsReplicationEquivalentCommandLines(String subcommand, UserData userData); static List<List<String>> getDsConfigReplicationEnableEquivalentCommandLines(UserData userData);  }### Answer:
@Test(enabled = false, dataProvider = "stripHtmlData") public void testStripHtml(String html, String expectedResult) { assertEquals(expectedResult, Utils.stripHtml(html)); }