Class EqualityMatcher<T>

    • Constructor Detail

      • EqualityMatcher

        public EqualityMatcher​(Object value)
        Creates an element matcher that tests for equality.
        Parameters:
        value - The object that is checked to be equal to the matched value.
    • Method Detail

      • matches

        public boolean matches​(T target)
        Matches a target against this element matcher.
        Parameters:
        target - The instance to be matched.
        Returns:
        true if the given element is matched by this matcher or false otherwise.