public class IsEqualToUser extends IsEqualToEntity<es.uvigo.esei.dgss.letta.domain.entities.User>
User entities by their attributes.expected| Constructor and Description |
|---|
IsEqualToUser(es.uvigo.esei.dgss.letta.domain.entities.User user)
Constructs a new instance of
IsEqualToUser. |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.User>> |
containsUsersInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.User... users)
Factory method that returns a new
Matcher that includes several
IsEqualToUser matchers, each one using an User of the
provided ones as the expected value. |
static IsEqualToUser |
equalsToUser(es.uvigo.esei.dgss.letta.domain.entities.User user)
Factory method that creates a new
IsEqualToEntity matcher with
the provided User as the expected value. |
protected boolean |
matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.User actual) |
addMatcherDescription, addTemplatedDescription, checkAttribute, clearDescribeTo, containsEntityInAnyOrder, containsEntityInOrder, describeTodescribeMismatch, describeMismatchSafely, matchespublic IsEqualToUser(es.uvigo.esei.dgss.letta.domain.entities.User user)
IsEqualToUser.user - the expected user.protected boolean matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.User actual)
matchesSafely in class org.hamcrest.TypeSafeMatcher<es.uvigo.esei.dgss.letta.domain.entities.User>public static IsEqualToUser equalsToUser(es.uvigo.esei.dgss.letta.domain.entities.User user)
IsEqualToEntity matcher with
the provided User as the expected value.user - the expected user.IsEqualToEntity matcher with the provided
User as the expected value.public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.User>> containsUsersInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.User... users)
Matcher that includes several
IsEqualToUser matchers, each one using an User of the
provided ones as the expected value.users - the users to be used as the expected values.Matcher that includes several
IsEqualToUser matchers, each one using an User of the
provided ones as the expected value.IsEqualToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)Copyright © 2015. All rights reserved.