### Question:
WxCpOAServiceImpl implements WxCpOAService { @Override public List<WxCpCheckinOption> getCheckinOption(Date datetime, List<String> userIdList) throws WxErrorException { String url = "https: if (datetime == null) { throw new RuntimeException("datetime can't be null"); } if (userIdList == null || userIdList.size() > 100) { throw new RuntimeException("用户列表不能为空，不超过100个，若用户超过100个，请分批获取"); } JsonArray jsonArray = new JsonArray(); for (String userid : userIdList) { jsonArray.add(userid); } JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("datetime", datetime.getTime() / 1000L); jsonObject.add("useridlist", jsonArray); String responseContent = this.mainService.post(url, jsonObject.toString()); JsonElement tmpJsonElement = new JsonParser().parse(responseContent); return WxCpGsonBuilder.create() .fromJson( tmpJsonElement.getAsJsonObject().get("info"), new TypeToken<List<WxCpCheckinOption>>() { }.getType() ); } WxCpOAServiceImpl(WxCpService mainService); @Override List<WxCpCheckinData> getCheckinData(Integer openCheckinDataType, Date starttime, Date endtime, List<String> userIdList); @Override List<WxCpCheckinOption> getCheckinOption(Date datetime, List<String> userIdList); @Override WxCpApprovalDataResult getApprovalData(Date starttime, Date endtime, Long nextSpnum); @Override List<WxCpDialRecord> getDialRecord(Date starttime, Date endtime, Integer offset, Integer limit);  }### Answer:
@Test public void testGetCheckinOption() throws WxErrorException { Date now = new Date(); List<WxCpCheckinOption> results = wxService.getOAService() .getCheckinOption(now, Lists.newArrayList("binary")); assertThat(results).isNotNull(); }