@Test
public void getsDate() {

    Date date = new Date();
    headers.putSingle(DATE, formatDateInRfc1123DateFormat(date));
    assertTrue("Dates are not equal", Math.abs(date.getTime() - containerRequest.getDate().getTime()) < 1000);
}