org.xmlmatchers.equivalence
Class IsEquivalentTo

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeMatcher<Source>
          extended by org.xmlmatchers.equivalence.IsEquivalentTo
All Implemented Interfaces:
org.hamcrest.Matcher<Source>, org.hamcrest.SelfDescribing

public class IsEquivalentTo
extends org.hamcrest.TypeSafeMatcher<Source>

Author:
David Ehringer

Method Summary
 void describeTo(org.hamcrest.Description description)
           
static org.hamcrest.Matcher<Source> equivalentTo(Source control)
           
static org.hamcrest.Matcher<Source> isEquivalentTo(Source control)
           
 boolean matchesSafely(Source source)
           
 
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matchesSafely

public boolean matchesSafely(Source source)
Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<Source>

describeTo

public void describeTo(org.hamcrest.Description description)

isEquivalentTo

public static org.hamcrest.Matcher<Source> isEquivalentTo(Source control)

equivalentTo

public static org.hamcrest.Matcher<Source> equivalentTo(Source control)


Copyright © 2010-2011. All Rights Reserved.