|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseXPathExpectations
Allows for setting up expectations on XPath expressions.
Implementations of this interface are returned byRequestMatchers.xpath(String)
and RequestMatchers.xpath(String, java.util.Map)
, as part of the fluent API. As such, it is not typical to implement this
interface yourself.
RequestMatchers.xpath(String)
,
RequestMatchers.xpath(String, java.util.Map)
Method Summary | |
---|---|
ResponseMatcher |
doesNotExist()
Expects the XPath expression to not exist. |
ResponseMatcher |
evaluatesTo(boolean expectedValue)
Expects the XPath expression to evaluate to the given boolean. |
ResponseMatcher |
evaluatesTo(double expectedValue)
Expects the XPath expression to evaluate to the given double. |
ResponseMatcher |
evaluatesTo(int expectedValue)
Expects the XPath expression to evaluate to the given integer. |
ResponseMatcher |
evaluatesTo(String expectedValue)
Expects the XPath expression to evaluate to the given string. |
ResponseMatcher |
exists()
Expects the XPath expression to exist. |
Method Detail |
---|
ResponseMatcher exists()
ResponseMatcher doesNotExist()
ResponseMatcher evaluatesTo(boolean expectedValue)
expectedValue
- the expected value
ResponseMatcher evaluatesTo(int expectedValue)
expectedValue
- the expected value
ResponseMatcher evaluatesTo(double expectedValue)
expectedValue
- the expected value
ResponseMatcher evaluatesTo(String expectedValue)
expectedValue
- the expected value
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |