Class XpathAssertions
java.lang.Object
org.springframework.test.web.reactive.server.XpathAssertions
XPath assertions for the 
WebTestClient.- Since:
- 5.1
- Author:
- Eric Deandrea, Rossen Stoyanchev
- 
Method SummaryModifier and TypeMethodDescriptionDelegates toXpathExpectationsHelper.doesNotExist(byte[], String).booleanexists()Delegates toXpathExpectationsHelper.exists(byte[], String).inthashCode()isEqualTo(boolean expectedValue) nodeCount(int expectedCount) Consume the count of nodes as result of the XPath evaluation.Consume the result of the XPath evaluation as a Double.Consume the result of the XPath evaluation as a String.
- 
Method Details- 
isEqualTo
- 
isEqualTo
- 
isEqualTo
- 
existsDelegates toXpathExpectationsHelper.exists(byte[], String).
- 
doesNotExistDelegates toXpathExpectationsHelper.doesNotExist(byte[], String).
- 
nodeCount
- 
string- Since:
- 5.1
 
- 
number- Since:
- 5.1
 
- 
nodeCount- Since:
- 5.1
 
- 
stringConsume the result of the XPath evaluation as a String.- Since:
- 5.1
 
- 
numberConsume the result of the XPath evaluation as a Double.- Since:
- 5.1
 
- 
nodeCountConsume the count of nodes as result of the XPath evaluation.- Since:
- 5.1
 
- 
equals
- 
hashCodepublic int hashCode()
 
-