### Question:
UserService extends RestService { public Mono<UserData> getUser(long userId) { return Routes.USER_GET.newRequest(userId) .exchange(getRouter()) .bodyToMono(UserData.class); } UserService(Router router); Mono<UserData> getCurrentUser(); Mono<UserData> getUser(long userId); Mono<UserData> modifyCurrentUser(UserModifyRequest request); Flux<UserGuildData> getCurrentUserGuilds(Map<String, Object> queryParams); Mono<Void> leaveGuild(long guildId); Flux<ChannelData> getUserDMs(); Mono<ChannelData> createDM(DMCreateRequest request); Mono<ChannelData> createGroupDM(GroupDMCreateRequest request); Flux<ConnectionData> getUserConnections();  }### Answer:
@Test public void testGetUser() { userService.getUser(user).block(); }
@Test public void testGetInvalidUser() { try { userService.getUser(1111222).block(); } catch (ClientException e) { System.out.println("Error: " + e.toString()); } }