### Question:
CallingMethod { public static JinfoEntity getInfo(String address, String id) throws IOException { String url = address + "/info" + "?id=" + id; String body = connectHost(url); return JSON.parseObject(body,JinfoEntity.class); }  static String getSystem(String address); static String getVersion(String address); static JinfoEntity getInfo(String address, String id); static JstackEntity getJstack(String address, String id); static Map<String, JpsEntity> getJps(String address); static List<KVEntity> getJstatClass(String address, String id); static List<KVEntity> getJstatGc(String address, String id); static List<KVEntity> getJstatUtil(String address, String id);  }### Answer:
@Test public void getInfo() throws IOException { JinfoEntity info = CallingMethod.getInfo("http: System.out.println(info); Assert.assertNotNull(info); }