### Question:
ResourceProxyRequestHandler extends RequestHandlerSupport { public static String createProxyPath(final String requestUri, final String resourceId) { notNull(requestUri); notNull(resourceId); return requestUri + getRequestHandlerPath(resourceId); }  @Override void handle(final HttpServletRequest request, final HttpServletResponse response); @Override boolean accept(final HttpServletRequest request); static String createProxyPath(final String requestUri, final String resourceId); static boolean isProxyUri(final String url); static final String PARAM_RESOURCE_ID; static final String PATH_RESOURCES; static final String ALIAS; }### Answer:
@Test(expected = NullPointerException.class) public void cannotAcceptNullRequestUriToCreateProxyPath() { ResourceProxyRequestHandler.createProxyPath(null, ""); }
@Test public void shouldCreateProxyPath() { assertEquals("/wro/all.js?wroAPI=wroResources&id=id", ResourceProxyRequestHandler.createProxyPath("/wro/all.js", "id")); assertEquals("?wroAPI=wroResources&id=id", ResourceProxyRequestHandler.createProxyPath("", "id")); }