Package org.mockito.internal.matchers
Class ArrayEquals
java.lang.Object
org.hamcrest.BaseMatcher<Object>
org.mockito.ArgumentMatcher<Object>
org.mockito.internal.matchers.Equals
org.mockito.internal.matchers.ArrayEquals
- All Implemented Interfaces:
Serializable,org.hamcrest.Matcher<Object>,org.hamcrest.SelfDescribing,ContainsExtraTypeInformation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object[]createObjectArray(Object array) voiddescribeTo(org.hamcrest.Description description) By default this method decamelizes matchers name to promote meaningful names for matchers.booleanReturns whether this matcher accepts the given argument.Methods inherited from class org.mockito.internal.matchers.Equals
describe, equals, getWanted, hashCode, typeMatches, withExtraTypeInfoMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString
-
Constructor Details
-
ArrayEquals
-
-
Method Details
-
matches
Description copied from class:ArgumentMatcherReturns whether this matcher accepts the given argument.The method should never assert if the argument doesn't match. It should only return false.
-
describeTo
public void describeTo(org.hamcrest.Description description) Description copied from class:ArgumentMatcherBy default this method decamelizes matchers name to promote meaningful names for matchers.For 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).
- Specified by:
describeToin interfaceorg.hamcrest.SelfDescribing- Overrides:
describeToin classEquals- Parameters:
description- the description to which the matcher description is appended.
-
createObjectArray
-