FacadeHostRequestWrapperFactory { public HttpServletRequest create(HttpServletRequest request) { String documentrHost = systemSettingsStore.getSetting(SystemSettingsStore.DOCUMENTR_HOST); return new FacadeHostRequestWrapper(request, documentrHost); }  HttpServletRequest create(HttpServletRequest request);  }
@Test public void create() { HttpServletRequest requestWrapper = factory.create(request); assertEquals(DOCUMENTR_HOST + URI, requestWrapper.getRequestURL().toString()); }