public class IsEqualsToRegistration extends IsEqualsToEntity<es.uvigo.esei.dgss.letta.domain.entities.Registration>
Registration entities by their attributes.expected| Constructor and Description |
|---|
IsEqualsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Constructs a new instance of
IsEqualsToRegistration. |
IsEqualsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration,
boolean compareUuid)
Constructs a new instance of
IsEqualsToRegistration. |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Registration>> |
containsRegistrationsInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Registration... registrations)
Factory method that returns a new
Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value. |
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Registration>> |
containsRegistrationsInAnyOrderIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration... registrations)
Factory method that returns a new
Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value. |
static IsEqualsToRegistration |
equalsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Factory method that creates a new
IsEqualsToEntity matcher with
the provided Registration as the expected value. |
static IsEqualsToRegistration |
equalsToRegistrationIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Factory method that creates a new
IsEqualsToEntity matcher with
the provided Registration as the expected value. |
protected boolean |
matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.Registration actual) |
addMatcherDescription, addTemplatedDescription, checkAttribute, clearDescribeTo, containsEntityInAnyOrder, describeTodescribeMismatch, describeMismatchSafely, matchespublic IsEqualsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualsToRegistration. The UUID of
the registrations will not be compared.registration - the expected registration.public IsEqualsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration,
boolean compareUuid)
IsEqualsToRegistration.registration - the expected registration.compareUuid - whether or not the UUID of the registrations should be
compared.protected boolean matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.Registration actual)
matchesSafely in class org.hamcrest.TypeSafeMatcher<es.uvigo.esei.dgss.letta.domain.entities.Registration>public static IsEqualsToRegistration equalsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualsToEntity matcher with
the provided Registration as the expected value. The UUID of the
registrations will be included in the comparison.registration - the expected registration.IsEqualsToEntity matcher with the provided
Registration as the expected value.public static IsEqualsToRegistration equalsToRegistrationIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualsToEntity matcher with
the provided Registration as the expected value. The UUID of the
registrations will be ignored.registration - the expected registration.IsEqualsToEntity matcher with the provided
Registration as the expected value.public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Registration>> containsRegistrationsInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Registration... registrations)
Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value. The UUID
of the registrations will be included in the comparison.registrations - the registrations to be used as the expected values.Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value.IsEqualsToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Registration>> containsRegistrationsInAnyOrderIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration... registrations)
Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value. The UUID
of the registrations will be ignored.registrations - the registrations to be used as the expected values.Matcher that includes several
IsEqualsToRegistration matchers, each one using an
Registration of the provided ones as the expected value.IsEqualsToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)Copyright © 2015. All rights reserved.