hello", + StringUtils.stripHtmlTags("
hello")); + + assertEquals("kdHydro < 12.53", + StringUtils.stripHtmlTags("kdHydro < 12.53")); + } + + @Test(groups = { "Functional" }) + public void testIsHexString() + { + assertFalse(StringUtils.isHexString("")); + assertTrue(StringUtils.isHexString("0123456789abcdefABCDEF")); + assertFalse(StringUtils.isHexString("g")); + try + { + StringUtils.isHexString(null); + fail("expected exception"); + } catch (NullPointerException e) + { + // expected + } + } }