Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.ListBodySpec
Packages that use WebTestClient.ListBodySpec
-
Uses of WebTestClient.ListBodySpec in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server that return WebTestClient.ListBodySpecModifier and TypeMethodDescriptionAssert the extracted list of values contains the given elements.WebTestClient.ListBodySpec.doesNotContain(E... elements) Assert the extracted list of values doesn't contain the given elements.<E> WebTestClient.ListBodySpec<E>WebTestClient.ResponseSpec.expectBodyList(Class<E> elementType) Consume and decode the response body toList<E>and then apply List-specific assertions.<E> WebTestClient.ListBodySpec<E>WebTestClient.ResponseSpec.expectBodyList(ParameterizedTypeReference<E> elementType) Alternative toWebTestClient.ResponseSpec.expectBodyList(Class)that accepts information about a target type with generics.WebTestClient.ListBodySpec.hasSize(int size) Assert the extracted list of values is of the given size.