Generated by
JDiff

Interface org.springframework.test.web.reactive.server.WebTestClient.ResponseSpec

Removed Methods
ResponseSpec consumeWith(Consumer<ExchangeResult>) Consume request and response details of the exchange.
TypeBodySpec expectBody(Class<?>) Assertions on the body of the response extracted to one or more representations of the given type.
TypeBodySpec expectBody(ResolvableType) Variant of .expectBody(Class) for use with generic types.
ExchangeResult returnResult() Return the request and response details of the exchange.
 

Added Methods
(BodySpec<B, ?>expectBody(Class<B>) Declare expectations on the response body decoded to {@code }.
(BodySpec<B, ?>expectBody(ResolvableType) Variant of .expectBody(Class) for a body type with generics.
ListBodySpec<E> expectBodyList(Class<E>) Declare expectations on the response body decoded to {@code List}.
ListBodySpec<E> expectBodyList(ResolvableType) Variant of .expectBodyList(Class) for element types with generics.
FluxExchangeResult<T> returnResult(Class<T>) Return the exchange result with the body decoded to {@code Flux}.
FluxExchangeResult<T> returnResult(ResolvableType) Variant of .returnResult(Class) for element types with generics.
 

Changed Methods
BodyContentSpec expectBody() Change in return type from BodySpec to BodyContentSpec.
Declare expectations on the response body content.