MockRequest request = new MockRequest();
MockResponse response = new MockResponse();
@Test public void
setsDateHeaderFromClockTime() throws Exception {
dateHeader.connectTo(new Application() {
public void handle(Request request, Response response) throws Exception {
response.body(response.get("Date"));
}
});
dateHeader.handle(request, response);