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 Summary
Modifier and TypeMethodDescriptionDelegates toXpathExpectationsHelper.doesNotExist(byte[], String)
.boolean
exists()
Delegates toXpathExpectationsHelper.exists(byte[], String)
.int
hashCode()
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
-
exists
Delegates toXpathExpectationsHelper.exists(byte[], String)
. -
doesNotExist
Delegates toXpathExpectationsHelper.doesNotExist(byte[], String)
. -
nodeCount
-
string
- Since:
- 5.1
-
number
- Since:
- 5.1
-
nodeCount
- Since:
- 5.1
-
string
Consume the result of the XPath evaluation as a String.- Since:
- 5.1
-
number
Consume the result of the XPath evaluation as a Double.- Since:
- 5.1
-
nodeCount
Consume the count of nodes as result of the XPath evaluation.- Since:
- 5.1
-
equals
-
hashCode
public int hashCode()
-