### Question:
Parsing { static String normalizeDateToken(String token) { return token.replaceAll(" \\(.+\\)$", "").replaceAll("[ ]+", " ").trim(); }  static boolean startsWithIgnoreCase(String toTest, String prefix); static String stripQuotes(String var); static String decode(String str); static Collection<String> getKeyVariations(Multimap<String, String> headers, String... keys);  }### Answer:
@Test public final void normalizeDate() { assertEquals("Thu, 07 Apr 2011 04:41:42 -0700", Parsing.normalizeDateToken("Thu, 07 Apr 2011 04:41:42 -0700 (PDT)")); assertEquals("Thu, 07 Apr 2011 04:41:42 -0700", Parsing.normalizeDateToken("Thu, 07 Apr 2011 04:41:42 -0700 (PDT)")); }