ReservationClient { public Flux<Reservation> getAllReservations() { return this.webClient .get() .uri("http: .retrieve() .bodyToFlux(Reservation.class); }  Flux<Reservation> getAllReservations();  }
@Test public void getAll() { Flux<Reservation> allReservations = this.client.getAllReservations(); StepVerifier .create(allReservations) .expectNextMatches(r -> r.getName().equalsIgnoreCase("Jane") && r.getId() != null) .verifyComplete(); }