### Question:
ReservationClient { public Flux<Reservation> getAllReservations() { return this.client.get() .uri("http: .retrieve() .bodyToFlux(Reservation.class); }  Flux<Reservation> getAllReservations();  }### Answer:
@Test public void getAllReservations() throws Exception { List<String> validNames = Arrays.asList("Jane", "John"); Flux<Reservation> reservationFlux = this.client.getAllReservations(); StepVerifier .create(reservationFlux) .expectNextMatches(reservation -> validNames.contains(reservation.getName()) && reservation.getId() != null) .expectNextMatches(reservation -> validNames.contains(reservation.getName()) && reservation.getId() != null) .verifyComplete(); }