public class ArrayEquals extends Equals
| Constructor and Description |
|---|
ArrayEquals(java.lang.Object wanted) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object[] |
createObjectArray(java.lang.Object array) |
void |
describeTo(org.hamcrest.Description description)
By default this method decamelizes matchers name to promote meaningful names for matchers.
|
boolean |
matches(java.lang.Object actual)
Returns whether this matcher accepts the given argument.
|
describe, equals, getWanted, hashCode, typeMatches, withExtraTypeInfopublic boolean matches(java.lang.Object actual)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
public void describeTo(org.hamcrest.Description description)
ArgumentMatcherFor example StringWithStrongLanguage matcher will generate 'String with strong language' description in case of failure.
You might want to override this method to provide more specific description of the matcher (useful when verification failures are reported).
describeTo in interface org.hamcrest.SelfDescribingdescribeTo in class Equalsdescription - the description to which the matcher description is
appended.public static java.lang.Object[] createObjectArray(java.lang.Object array)