public class IsEqualToRegistration extends IsEqualToEntity<es.uvigo.esei.dgss.letta.domain.entities.Registration>
Registration entities by their attributes.expected| Constructor and Description |
|---|
IsEqualToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Constructs a new instance of
IsEqualToRegistration. |
IsEqualToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration,
boolean compareUuid)
Constructs a new instance of
IsEqualToRegistration. |
| 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
IsEqualToRegistration 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
IsEqualToRegistration matchers, each one using an
Registration of the provided ones as the expected value. |
static IsEqualToRegistration |
equalsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Factory method that creates a new
IsEqualToEntity matcher with
the provided Registration as the expected value. |
static IsEqualToRegistration |
equalsToRegistrationIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
Factory method that creates a new
IsEqualToEntity 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, containsEntityInOrder, describeTodescribeMismatch, describeMismatchSafely, matchespublic IsEqualToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualToRegistration. The UUID of
the registrations will not be compared.registration - the expected registration.public IsEqualToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration,
boolean compareUuid)
IsEqualToRegistration.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 IsEqualToRegistration equalsToRegistration(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualToEntity matcher with
the provided Registration as the expected value. The UUID of the
registrations will be included in the comparison.registration - the expected registration.IsEqualToEntity matcher with the provided
Registration as the expected value.public static IsEqualToRegistration equalsToRegistrationIgnoringUuid(es.uvigo.esei.dgss.letta.domain.entities.Registration registration)
IsEqualToEntity matcher with
the provided Registration as the expected value. The UUID of the
registrations will be ignored.registration - the expected registration.IsEqualToEntity 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
IsEqualToRegistration 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
IsEqualToRegistration matchers, each one using an
Registration of the provided ones as the expected value.IsEqualToEntity.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
IsEqualToRegistration 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
IsEqualToRegistration matchers, each one using an
Registration of the provided ones as the expected value.IsEqualToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)Copyright © 2015. All rights reserved.