### Question:
WebDetector extends BasicDetector<WebRequest, WebResponse> { public void setPath(String path) { this.path = path; } WebDetector();  WebDetector(final String serviceName, final int port); String getSchema(); void setSchema(String schema); String getPath(); void setPath(String path); String getUserAgent(); void setUserAgent(String userAgent); String getVirtualHost(); void setVirtualHost(String virtualHost); boolean isUseHttpV1(); void setUseHttpV1(boolean useHttpV1); String getHeaders(); void setHeaders(String headers); boolean isAuthEnabled(); void setAuthEnabled(boolean authEnabled); boolean isAuthPreemtive(); void setAuthPreemtive(boolean authPreemtive); String getAuthUser(); void setAuthUser(String authUser); String getAuthPassword(); void setAuthPassword(String authPassword); String getResponseText(); void setResponseText(String responseText); String getResponseRange(); void setResponseRange(String responseRange);  }### Answer:
@Test(timeout=90000) public void testDetectorSucessCheckCodeTrue() throws Exception { m_server = createServer(getServerOKResponse()); m_detector.setPath("http: m_detector.setPort(m_server.getLocalPort()); m_detector.init(); assertTrue(m_detector.isServiceDetected(m_server.getInetAddress())); }