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 . |
match
public 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
AbstractSoapMessageMatcher
AbstractSoapMessageMatcher.match(WebServiceMessage)
if the given message is a
SoapMessage
.match
in class AbstractSoapMessageMatcher
soapMessage
- the soap messageIOException
- in case of I/O errorsAssertionError
- if expectations are not metCopyright © 2020 Pivotal Software. All rights reserved.