@Test(expected=IllegalArgumentException.class)
public void testContextParameterCheck() throws Exception {

    HttpRequest request = new BasicHttpRequest("GET", "/");
    HttpRequestInterceptor interceptor = new RequestTargetAuthentication();
    interceptor.process(request, null);
}