.build());
EnterpriseDto enterprise = new EnterpriseDto();
enterprise.addLink(new RESTLink("users", "http://localhost/api/admin/enterprises/1/users"));
UserOptions options = UserOptions.builder().page(1).build();
PaginatedCollection<UserDto, UsersDto> result = api.listUsers(enterprise, options);
assertEquals(result.size(), 1);
assertEquals(result.getTotalSize().intValue(), 3);
assertEquals(result.get(0).getId().intValue(), 3);