    @Test
    public void testContextPath() {

        RequestLookup requestLookup = new RequestLookup("/test1", null, null);
        Assert.assertEquals(requestLookup.getContextPath(), "/test1");

        HttpRequest request = mock(HttpRequest.class);
        when(request.getContextPath()).thenReturn("/test2");
        requestLookup = new RequestLookup(null, request, null);
        Assert.assertEquals(requestLookup.getContextPath(), "/test2");
    }