@Test
public void parsesRFC_1036() {

    // EEEE, dd-MMM-yy HH:mm:ss zzz
    String dateHeader = "Thursday, 29-Dec-11 12:03:50 EST";
    Date expectedDate = date(2011, 12, 29, 12, 3, 50, "EST");
    Date date = HeaderHelper.parseDateHeader(dateHeader);
    assertTrue(String.format("Dates are not equal, %s and %s", expectedDate, date),
               Math.abs(expectedDate.getTime() - date.getTime()) < 1000);
}