Skip to content

Commit

Permalink
SWS-786 - SOAP envelope Matcher / MessageCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
poutsma committed Aug 15, 2012
1 parent 13f537f commit 001e972
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.springframework.xml.transform.TransformerHelper;

import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.XMLUnit;
import org.w3c.dom.Document;

import static org.springframework.ws.test.support.AssertionErrors.assertTrue;
Expand All @@ -43,6 +44,10 @@ public class SoapEnvelopeDiffMatcher extends AbstractSoapMessageMatcher {

private final TransformerHelper transformerHelper = new TransformerHelper();

static {
XMLUnit.setIgnoreWhitespace(true);
}

public SoapEnvelopeDiffMatcher(Source expected) {
Assert.notNull(expected, "'expected' must not be null");
this.expected = expected;
Expand Down

0 comments on commit 001e972

Please sign in to comment.