RPClient { public void close(){ try{ rpSock.shutdownOutput(); rpSock.shutdownInput(); rpSock.close(); }catch(Exception e){ log.error("Error during socket close.", e); } } RPClient(String hostName, int port); InetSocketAddress getRpcoreEndpoint(); void setRpcoreEndpoint(String hostName, int port); Socket getRpSock(); void setRpSock(); TCBuffer send(TCBuffer outTCBuffer); void close(); boolean getVmStatus(String vmInstanceId); String getVMAttestationReportPath(String vmInstanceId, String nonce);  }
@Test public void testClose() { System.out.println("close"); RPClient instance = null; instance.close(); fail("The test case is a prototype."); }