    @Test
    public void testStaticProxy() throws Exception {

        mockServer.when(request("/path/to/angular.png"))
                .respond(response(TestUtil.getFileContents("website/angular.png"))
                        .withHeader(new Header(HttpHeaders.Names.CONTENT_TYPE, "image/png")));

        MockHttpServletResponse response = new MockHttpServletResponse();
        MockHttpServletRequest request = new MockHttpServletRequest("GET", "/js-portlet/p/portletId/path/to/angular.png");
        request.setContextPath("/js-portlet");
        proxyController.staticProxy(request, response);

        Assert.assertEquals("image/png", response.getHeader(HttpHeaders.Names.CONTENT_TYPE));

    }