public static interface WebTestClient.BodySpec<B,S extends WebTestClient.BodySpec<B,S>>
修飾子と型 | メソッドと説明 |
---|---|
<T extends S> | consumeWith(ConsumerSE<EntityExchangeResult<B>> consumer) 指定された Consumer SE で交換結果をアサートします。 |
<T extends S> | isEqualTo(B expected) 抽出されたボディが指定された値と等しいことをアサートします。 |
EntityExchangeResult<B> | returnResult() デコードされた本文との交換結果を返します。 |
<T extends S> T consumeWith(ConsumerSE<EntityExchangeResult<B>> consumer)
Consumer
SE で交換結果をアサートします。EntityExchangeResult<B> returnResult()