| net.sf.mockcreator.expectable.ExpectableParameter
All known Subclasses: net.sf.mockcreator.expectable.ExpectFloat, net.sf.mockcreator.expectable.ExpectJavaBean, net.sf.mockcreator.expectable.ExpectRegexp, net.sf.mockcreator.expectable.ExpectSame, net.sf.mockcreator.expectable.ExpectPOJO, net.sf.mockcreator.expectable.Ignore, net.sf.mockcreator.expectable.ExpectDate,
ExpectableParameter | public interface ExpectableParameter (Code) | | The marker interface defines base for user-defined comparisions for passed
parameters. It is useful when plain old equals() just is not enough (like
date comparision with a few seconds away allowed, ignorable parameters,
substring matching with no attention to other stuff, etc).
|
Method Summary | |
public boolean | isExpected(Object actualParameter) Returns true if passed object matches expected. |
isExpected | public boolean isExpected(Object actualParameter)(Code) | | Returns true if passed object matches expected.
|
|
|