|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.easymock.AbstractMatcher | +--org.apache.hivemind.test.ExceptionAwareArgumentsMatcher
An EasyMock ArgumentsMatcher that is savvy about Throwables ... it just compares the type (since exceptions don't compare well). This allows a check that the right type of exception was thrown (even if it doesn't check that the exception's message and other properties are correct).
Constructor Summary | |
ExceptionAwareArgumentsMatcher()
|
Method Summary | |
protected boolean |
argumentMatches(java.lang.Object expected,
java.lang.Object actual)
|
Methods inherited from class org.easymock.AbstractMatcher |
argumentToString, matches, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExceptionAwareArgumentsMatcher()
Method Detail |
protected boolean argumentMatches(java.lang.Object expected, java.lang.Object actual)
argumentMatches
in class org.easymock.AbstractMatcher
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |