public class SoapHeaderMatcher extends AbstractSoapMessageMatcher
| Constructor and Description |
|---|
SoapHeaderMatcher(QName soapHeaderName)
Creates a new instance of the
SoapHeaderMatcher that checks for the presence of the given SOAP header
name. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
match(SoapMessage soapMessage)
Abstract template method that gets invoked from
AbstractSoapMessageMatcher.match(WebServiceMessage) if the given message is a
SoapMessage. |
matchpublic SoapHeaderMatcher(QName soapHeaderName)
SoapHeaderMatcher that checks for the presence of the given SOAP header
name.soapHeaderName - the header name to check forprotected void match(SoapMessage soapMessage) throws IOException, AssertionError
AbstractSoapMessageMatcherAbstractSoapMessageMatcher.match(WebServiceMessage) if the given message is a
SoapMessage.match in class AbstractSoapMessageMatchersoapMessage - the soap messageIOException - in case of I/O errorsAssertionError - if expectations are not metCopyright © 2019 Pivotal Software. All rights reserved.