Class ArrayEquals

    • Constructor Detail

      • ArrayEquals

        public ArrayEquals​(java.lang.Object wanted)
    • Method Detail

      • matches

        public boolean matches​(java.lang.Object actual)
        Description copied from interface: ArgumentMatcher
        Informs if this matcher accepts the given argument.

        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

        Specified by:
        matches in interface ArgumentMatcher<java.lang.Object>
        Overrides:
        matches in class Equals
        Parameters:
        actual - the argument
        Returns:
        true if this matcher accepts the given argument.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Equals
      • appendArray

        private java.lang.String appendArray​(java.lang.Object[] array)
      • createObjectArray

        public static java.lang.Object[] createObjectArray​(java.lang.Object array)