public class EqualsMatcher<T>
extends org.hamcrest.TypeSafeMatcher<T>
Object.equals(Object o)
Constructor and Description |
---|
EqualsMatcher(T expected) |
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static <T> org.hamcrest.Matcher<T> |
equalTo(T item) |
protected boolean |
matchesSafely(T item) |
describeMismatch, describeMismatchSafely, matches
public EqualsMatcher(T expected)
Copyright © 2010–2024. All rights reserved.