@Test
public void testRemoveSpecialChars()
{

    String resultSpace = StringUtil.removeSpecialChars( htmlString, false );
    String resultNoSpace = StringUtil.removeSpecialChars( htmlString, true );
    assertFalse( resultSpace.contains( "<" ) );
    assertTrue( resultSpace.contains( "script" ) );
    assertTrue( resultSpace.contains( " " ) );
    assertFalse( resultNoSpace.contains( " " ) );
}