01: package org.jingle.mocquer;
02:
03: /**
04: * This interface is used to match whether two method arguments array are equal or not
05: * <p>It is used to find the matched method call behavior<p>
06: *
07: * @author JianLu
08: * @version 1.0 2004-10-28
09: * @since 1.0
10: */
11: public interface ArgumentsMatcher {
12: /**
13: * Whether the given method argument array are equal or not
14: * @param expected The expected method arguments
15: * @param actual The actual method arguments
16: * @return true or false
17: */
18: public boolean matches(java.lang.Object[] expected,
19: java.lang.Object[] actual);
20: }
|