### Question:
Mapping { public String mapHiddenToProxy(String hiddenUrl) { String path = extractPath(hiddenUrl, hiddenDomain, ""); return extractProtocol(hiddenUrl) + SEP + proxy + path; } Mapping(String mapping); String mapProxyToHidden(String proxyUrl); String mapHiddenToProxy(String hiddenUrl); final String hiddenDomain; final String proxyDomain; final String proxyResource; final String proxy; }### Answer:
@Test public void testMapHiddenToProxy() { String hiddenUrl= "http: String actual= ModelFactory.MAPPING1.mapHiddenToProxy(hiddenUrl); String expected= "http: assertEquals(expected, actual); }