public class ArrayEquals extends Equals
| Constructor and Description |
|---|
ArrayEquals(Object wanted) |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
createObjectArray(Object array) |
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matches(Object actual)
Returns whether this matcher accepts the given argument.
|
describe, equals, getWanted, hashCode, typeMatches, withExtraTypeInfo_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic ArrayEquals(Object wanted)
public boolean matches(Object actual)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
public void describeTo(Description description)
SelfDescribingdescribeTo in interface SelfDescribingdescribeTo in class Equalsdescription - The description to be built or appended to.Copyright © 2018. All rights reserved.