- All Implemented Interfaces:
org.hamcrest.Matcher<Author>, org.hamcrest.SelfDescribing
public class IsAuthorEq
extends org.hamcrest.TypeSafeMatcher<Author>
-
Constructor Summary
Constructors
-
Method Summary
void
static org.hamcrest.Matcher<Author>
boolean
Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
IsAuthorEq
protected IsAuthorEq(@NotNull
@NotNull Author reference)
-
Method Details
-
matchesSafely
public boolean matchesSafely(Author author)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<Author>
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
equalToAuthor
public static org.hamcrest.Matcher<Author> equalToAuthor(@NotNull
@NotNull Author reference)