How to verify that an xpath pattern is NOT matched in Wiremock?
I am working on a test case that asserts that the xml request body to a Wiremock stub does not have the xmlns attribute.
So far, I have tried to use the equalToXml matcher, but that is ignoring attributes as far as I can tell.
String customerXml = "Jon Doe39";
WireMock.stubFor(
WireMock.get(urlEqualTo("/someservice/customers/123"))
.willReturn(
WireMock.aResponse()
.withStatus(HttpStatus.OK.value())
.withBody(customerXml)));
Customer...