### Question:
Mapping { public String mapProxyToHidden(String proxyUrl) { String path = extractPath(proxyUrl, proxyDomain, proxyResource); return extractProtocol(proxyUrl) + SEP + hiddenDomain + 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 testMapProxyToHidden() { String proxyUrl= "http: String actual= ModelFactory.MAPPING1.mapProxyToHidden(proxyUrl); String expected= "http: assertEquals(expected, actual); }