void () { String html = "<HTML><HEAD><TITLE>Hello Worlds</TITLE></HEAD><body><img src='test.gif'><body></HTML>"; String pattern = "<title>'_a</title>"; options.setCaseSensitiveMatch(true); assertEquals("case sensitive search", 0, findMatchesCount(html, pattern, HtmlFileType.INSTANCE)); }