|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hamcrest.integration.EasyMock2Adapter
public class EasyMock2Adapter
An adapter allowing a Hamcrest Matcher
to act as an EasyMock org.easymock.IArgumentMatcher.
| Constructor Summary | |
|---|---|
EasyMock2Adapter(Matcher<?> matcher)
|
|
| Method Summary | |
|---|---|
static IArgumentMatcher |
adapt(Matcher<?> matcher)
Convenience factory method that will adapt a Hamcrest Matcher to act as an
EasyMock org.easymock.IArgumentMatcher and
report it to EasyMock so it can be kept track of. |
void |
appendTo(java.lang.StringBuffer buffer)
|
boolean |
matches(java.lang.Object argument)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EasyMock2Adapter(Matcher<?> matcher)
| Method Detail |
|---|
public static IArgumentMatcher adapt(Matcher<?> matcher)
Matcher to act as an
EasyMock org.easymock.IArgumentMatcher and
report it to EasyMock so it can be kept track of.
public boolean matches(java.lang.Object argument)
public void appendTo(java.lang.StringBuffer buffer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||