+ .uri(
+ "http://localhost:{port}/list",
+ port)
+ .accept(MediaType.APPLICATION_JSON)
+ .exchange()
+ .expectStatus().isOk()
+ .expectBody()
+ .jsonPath("$.length()").isEqualTo(1)
+ .jsonPath("$[0].name").isEqualTo("FOO");
+ webTestClient
+ .get()
+ .uri("http://localhost:{port}/{chatRoomId}",
+ port,
+ chatRoomId)