WsClient { public void destroy() { this.client.destroy(); } WsClient( String rootUrl ); void destroy(); ApplicationWsDelegate getApplicationDelegate(); ManagementWsDelegate getManagementDelegate(); DebugWsDelegate getDebugDelegate(); TargetWsDelegate getTargetWsDelegate(); SchedulerWsDelegate getSchedulerDelegate(); PreferencesWsDelegate getPreferencesWsDelegate(); AuthenticationWsDelegate getAuthenticationWsDelegate(); Client getJerseyClient(); void setSessionId( String sessionId ); String getSessionId(); WebResource.Builder createBuilder( WebResource resource );  }
@Test public void testDestroy() { WsClient client = new WsClient( "http: client.destroy(); client.destroy(); }