org.mockito.internal.matchers
public class ArrayEquals extends Equals
Constructor and Description |
---|
ArrayEquals(Object wanted) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
createObjectArray(Object array) |
boolean |
matches(Object actual)
Informs if this matcher accepts the given argument.
|
String |
toString() |
equals, getWanted, hashCode, toStringWithType, typeMatches
public ArrayEquals(Object wanted)
public boolean matches(Object actual)
ArgumentMatcher
The method should never assert if the argument doesn't match. It should only return false.
See the example in the top level javadoc for ArgumentMatcher
matches
in interface ArgumentMatcher<Object>
matches
in class Equals
actual
- the argument