public class IsEqualToEvent extends IsEqualToEntity<es.uvigo.esei.dgss.letta.domain.entities.Event>
expected| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> |
containsEventsInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Static constructor to create a
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event. |
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> |
containsEventsInOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Static constructor to create a
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event. |
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> |
containsEventsListInAnyOrder(Iterable<es.uvigo.esei.dgss.letta.domain.entities.Event> events)
Static constructor to create a
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event. |
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> |
containsEventsListInOrder(Iterable<es.uvigo.esei.dgss.letta.domain.entities.Event> events)
Static constructor to create a
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event. |
static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> |
containsEventsWithOwnerInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Static constructor to create a
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event. |
static IsEqualToEvent |
equalToEvent(es.uvigo.esei.dgss.letta.domain.entities.Event event)
Static constructor to create
IsEqualToEvent instances with the
provided Event as the expected value. |
static IsEqualToEvent |
equalToEventWithOwner(es.uvigo.esei.dgss.letta.domain.entities.Event event)
Static constructor to create
IsEqualToEvent instances with the
provided Event as the expected value. |
protected boolean |
matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.Event event) |
addMatcherDescription, addTemplatedDescription, checkAttribute, clearDescribeTo, containsEntityInAnyOrder, containsEntityInOrder, describeTodescribeMismatch, describeMismatchSafely, matchespublic static IsEqualToEvent equalToEvent(es.uvigo.esei.dgss.letta.domain.entities.Event event)
IsEqualToEvent instances with the
provided Event as the expected value.
owner field. If you do need to also compare it by equality, consider
using equalToEventWithOwner(Event) instead.event - The Event to be used as expected value.IsEqualToEvent matcher with the provided
Event object as the expected value.public static IsEqualToEvent equalToEventWithOwner(es.uvigo.esei.dgss.letta.domain.entities.Event event)
IsEqualToEvent instances with the
provided Event as the expected value.event - The Event to be used as expected value.IsEqualToEvent matcher with the provided
Event object as the expected value.public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event.
owner field. If you do need to also compare it by equality, consider
using equalToEventWithOwner(Event) instead.events - The Events to be used as expected values.Matcher including a set of IsEqualToEvent
instances, created with each one of the received Events as their expected values.IsEqualToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsListInAnyOrder(Iterable<es.uvigo.esei.dgss.letta.domain.entities.Event> events)
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event.
owner field. If you do need to also compare it by equality, consider
using equalToEventWithOwner(Event) instead.events - An Iterable of Events to be used as
expected values.Matcher including a set of IsEqualToEvent
instances, created with each one of the received Events as their expected values.IsEqualToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsInOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event.
containsEventsInAnyOrder(Event...) instead.
owner field. If you do need to also compare it by equality, consider
using equalToEventWithOwner(Event) instead.events - The Events to be used as expected values, to
be compared in the same order as given.Matcher including a set of IsEqualToEvent
instances, created with each one of the received Events as their expected values.IsEqualToEntity.containsEntityInOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsListInOrder(Iterable<es.uvigo.esei.dgss.letta.domain.entities.Event> events)
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event.
containsEventsInAnyOrder(Event...) instead.
owner field. If you do need to also compare it by equality, consider
using equalToEventWithOwner(Event) instead.events - An Iterable of Events to be used as
expected values, to be compared in the same order as given.Matcher including a set of IsEqualToEvent
instances, created with each one of the received Events as their expected values.IsEqualToEntity.containsEntityInOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsWithOwnerInAnyOrder(es.uvigo.esei.dgss.letta.domain.entities.Event... events)
Matcher instance with a set of
Events as the expected values, relying upon a set of
IsEqualToEvent, one per received Event.events - The Events to be used as expected values.Matcher including a set of IsEqualToEvent
instances, created with each one of the received Events as their expected values.IsEqualToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)protected boolean matchesSafely(es.uvigo.esei.dgss.letta.domain.entities.Event event)
matchesSafely in class org.hamcrest.TypeSafeMatcher<es.uvigo.esei.dgss.letta.domain.entities.Event>Copyright © 2017. All rights reserved.