JaxbMatchers

Hamcrest Matcher implementations for JAXB XML elements.

API

JaxbMatchers.java
class JaxbMatchers {
  Matcher<? super T> isEquivalentTo(T expected)     (1)
}
1 isEquivalentTo(T)

Performs an equality comparison of a javax.xml.bind.annotation.XmlRootElement -annotated class to another by converting into XML first.

Members

isEquivalentTo(T)

Performs an equality comparison of a javax.xml.bind.annotation.XmlRootElement -annotated class to another by converting into XML first.