mockit.external.hamcrest.BaseMatcher Maven / Gradle / Ivy
/* Copyright (c) 2000-2006 hamcrest.org
*/
package mockit.external.hamcrest;
/**
* BaseClass for all Matcher implementations.
*
* @see org.hamcrest.Matcher
*/
public abstract class BaseMatcher implements Matcher
{
public void describeMismatch(Object item, Description description)
{
description.appendText("was ").appendValue(item);
}
@Override
public String toString()
{
return StringDescription.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy