public class XpathAssertions extends Object
WebTestClient
.public WebTestClient.BodyContentSpec isEqualTo(String expectedValue)
public WebTestClient.BodyContentSpec isEqualTo(Double expectedValue)
public WebTestClient.BodyContentSpec isEqualTo(boolean expectedValue)
public WebTestClient.BodyContentSpec exists()
XpathExpectationsHelper.exists(byte[], String)
.public WebTestClient.BodyContentSpec doesNotExist()
XpathExpectationsHelper.doesNotExist(byte[], String)
.public WebTestClient.BodyContentSpec nodeCount(int expectedCount)
public WebTestClient.BodyContentSpec string(Matcher<? super String> matcher)
public WebTestClient.BodyContentSpec number(Matcher<? super Double> matcher)
public WebTestClient.BodyContentSpec nodeCount(Matcher<? super Integer> matcher)
public WebTestClient.BodyContentSpec string(Consumer<String> consumer)
public WebTestClient.BodyContentSpec number(Consumer<Double> consumer)
public WebTestClient.BodyContentSpec nodeCount(Consumer<Integer> consumer)