### Question:
BookClient { public JsonNode getAllAvailableBooks() { JsonNode availableBooks = webClient.get() .uri("/books") .accept(MediaType.APPLICATION_JSON) .retrieve() .bodyToMono(JsonNode.class) .block(); return availableBooks; }  @PostConstruct void setUpWebClient(); JsonNode getAllAvailableBooks();  }### Answer:
@Test public void testContractToBookStoreServer() { JsonNode result = cut.getAllAvailableBooks(); assertTrue(result.isArray()); JsonNode firstBook = result.get(0); assertTrue(firstBook.has("genre")); assertTrue(firstBook.has("title")); assertTrue(firstBook.has("isbn")); assertTrue(firstBook.get("isbn").isTextual()); assertTrue(firstBook.get("genre").isTextual()); assertTrue(firstBook.get("title").isTextual()); }