public class IsEqualToEvent extends IsEqualsToEntity<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>> |
containsEventsWithCreatorinAnyOrder(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 |
equalToEventWithCreator(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, 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.
creator field. If you do need to also compare it by equality, consider
using equalToEventWithCreator(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 equalToEventWithCreator(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.
creator field. If you do need to also compare it by equality, consider
using equalToEventWithCreator(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.IsEqualsToEntity.containsEntityInAnyOrder(java.util.function.Function, Object...)public static org.hamcrest.Matcher<Iterable<? extends es.uvigo.esei.dgss.letta.domain.entities.Event>> containsEventsWithCreatorinAnyOrder(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.IsEqualsToEntity.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 © 2015. All rights reserved.