Search in sources :

Example 1 with Response

use of org.mortbay.jetty.Response in project commons by twitter.

the class RequestLoggerTest method setUp.

@Before
public void setUp() throws Exception {
    clock = new FakeClock();
    sink = createMock(LogSink.class);
    request = createMock(Request.class);
    response = createMock(Response.class);
    log = new RequestLogger(clock, sink);
}
Also used : Response(org.mortbay.jetty.Response) LogSink(com.twitter.common.net.http.RequestLogger.LogSink) FakeClock(com.twitter.common.util.testing.FakeClock) Request(org.mortbay.jetty.Request) Before(org.junit.Before)

Aggregations

LogSink (com.twitter.common.net.http.RequestLogger.LogSink)1 FakeClock (com.twitter.common.util.testing.FakeClock)1 Before (org.junit.Before)1 Request (org.mortbay.jetty.Request)1 Response (org.mortbay.jetty.Response)1