spring-framework / org.springframework.test.web.reactive.server / KotlinBodySpec / consumeWith

consumeWith

abstract fun consumeWith(consumer: (EntityExchangeResult<B>) -> Unit): KotlinBodySpec<B>

Assert the exchange result with the given consumer.