boolean result = newHeaderValue.toLowerCase().startsWith(headerValue.toLowerCase()); assertTrue(result);
if(compare) { boolean result = newHeaderValue.toLowerCase().startsWith(headerValue.toLowerCase()); assertTrue(result); }
   private void testCookieSetting(String headerValue) throws IOException   {      CookieReader cr = new CookieReader(headerValue);      CookieSetting cookie = cr.readCookieSetting();      // Rewrite the header      String newHeaderValue = CookieUtils.format(cookie);            // Compare initial and new headers      boolean result = newHeaderValue.toLowerCase().startsWith(headerValue.toLowerCase());      assertTrue(result);   }