|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestXPathExpectations
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 | |
---|---|
RequestMatcher |
doesNotExist()
Expects the XPath expression to not exist. |
RequestMatcher |
evaluatesTo(boolean expectedValue)
Expects the XPath expression to evaluate to the given boolean. |
RequestMatcher |
evaluatesTo(double expectedValue)
Expects the XPath expression to evaluate to the given double. |
RequestMatcher |
evaluatesTo(int expectedValue)
Expects the XPath expression to evaluate to the given integer. |
RequestMatcher |
evaluatesTo(String expectedValue)
Expects the XPath expression to evaluate to the given string. |
RequestMatcher |
exists()
Expects the XPath expression to exist. |
Method Detail |
---|
RequestMatcher exists()
RequestMatcher doesNotExist()
RequestMatcher evaluatesTo(boolean expectedValue)
expectedValue
- the expected value
RequestMatcher evaluatesTo(int expectedValue)
expectedValue
- the expected value
RequestMatcher evaluatesTo(double expectedValue)
expectedValue
- the expected value
RequestMatcher 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 |