### Question:
IdService { public long nextId(){ GenerateIdRequest.Builder request = GenerateIdRequest.newBuilder(); request.setUserName(rpcUserName); request.setPassword(rpcPassword); request.setCount(1); GenerateIdResponse response = client.execute("generateId", request.build(), GenerateIdResponse.class); return response.getIdList().get(0); } IdService(RpcServiceClient client, String rpcUserName, String rpcPassword); long nextId();  }### Answer:
@Test public void testNextId(){ Assert.assertTrue(idService.nextId()>0); }