### Question:
UUIDIdController extends AbstractGenerateIdController { @Override public IdRpcService.GenerateIdResponse process(IdRpcService.GenerateIdRequest request) throws NotFoundException, SystemException, UserException { IdRpcService.GenerateIdResponse.Builder response = IdRpcService.GenerateIdResponse.newBuilder(); for(int i = 0; i < request.getCount(); i++){ Long sequence = uUIDDistributedSequence.sequence(""); response.addId(sequence); } return response.build(); }  @Bean UUIDDistributedSequence instanceUUIDSequenceBean(); @Override IdRpcService.GenerateIdResponse process(IdRpcService.GenerateIdRequest request);  }### Answer:
@Test public void process() throws Exception { IdRpcService.GenerateIdRequest.Builder request = IdRpcService.GenerateIdRequest .newBuilder(); request.setUserName("cocolian"); request.setPassword("123456"); request.setEntityType(1); request.setCount(5); IdRpcService.GenerateIdResponse response = uUIDIdController.process(request .build()); List<Long> sequences = response.getIdList(); if(!CollectionUtils.isEmpty(sequences)){ System.out.println("sequences:{}" + sequences); } else { System.out.println("empty..."); } }