public final class XmlAssertion extends Object
XmlVerifiable| Modifier and Type | Method and Description |
|---|---|
static XmlVerifiable |
assertThat(Document parsedXml)
Starts assertions for the XML provided as
Document. |
static XmlVerifiable |
assertThat(String xml)
Starts assertions for the XML provided as
String. |
static XmlVerifiable |
assertThatXml(Document parsedXml)
Helper method so that there are no clashes with other static methods of that name.
|
static XmlVerifiable |
assertThatXml(String body)
Helper method so that there are no clashes with other static methods of that name.
|
public static XmlVerifiable assertThat(String xml)
String.xml - xml to assertXmlVerifiablepublic static XmlVerifiable assertThat(Document parsedXml)
Document.parsedXml - xml to assertXmlVerifiablepublic static XmlVerifiable assertThatXml(String body)
body - xml to assertXmlVerifiableassertThat(String)public static XmlVerifiable assertThatXml(Document parsedXml)
parsedXml - xml to assertXmlVerifiableassertThat(Document)Copyright © 2016–2020 Spring. All rights reserved.