public class IsEqualToPlayerDTO extends IsEqualToEntity<ligaaas.teamc.DTO.PlayerDTO>
PlayerDTOexpected| Constructor and Description |
|---|
IsEqualToPlayerDTO(ligaaas.teamc.DTO.PlayerDTO entity)
Constructor for the matcher
|
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Iterable<? extends ligaaas.teamc.DTO.PlayerDTO>> |
containsPlayersInAnyOrder(Iterable<ligaaas.teamc.DTO.PlayerDTO> players) |
static org.hamcrest.Matcher<Iterable<? extends ligaaas.teamc.DTO.PlayerDTO>> |
containsPlayersInAnyOrder(ligaaas.teamc.DTO.PlayerDTO... players)
Factory method to match an equal
PlayerDTO with a list. |
static IsEqualToPlayerDTO |
equalToPlayer(ligaaas.teamc.DTO.PlayerDTO player)
Factory method to match an equal
PlayerDTO |
protected boolean |
matchesSafely(ligaaas.teamc.DTO.PlayerDTO actual) |
addMatcherDescription, addTemplatedDescription, checkArrayAttribute, checkArrayAttribute, checkAttribute, checkAttribute, checkIntArrayAttribute, checkIterableAttribute, clearDescribeTo, containsEntityInAnyOrder, containsEntityInAnyOrder, containsEntityInOrder, containsEntityInOrder, describeTodescribeMismatch, describeMismatchSafely, matchespublic IsEqualToPlayerDTO(ligaaas.teamc.DTO.PlayerDTO entity)
entity. - The entity to match.protected boolean matchesSafely(ligaaas.teamc.DTO.PlayerDTO actual)
matchesSafely in class org.hamcrest.TypeSafeMatcher<ligaaas.teamc.DTO.PlayerDTO>public static IsEqualToPlayerDTO equalToPlayer(ligaaas.teamc.DTO.PlayerDTO player)
PlayerDTOplayer. - The PlayerDTO to be matched.true if the value of the expected and actual entities
are equals and false otherwise.public static org.hamcrest.Matcher<Iterable<? extends ligaaas.teamc.DTO.PlayerDTO>> containsPlayersInAnyOrder(ligaaas.teamc.DTO.PlayerDTO... players)
PlayerDTO with a list. No order
required.players. - An array of PlayerDTO to be matchedtrue if the value of the expected and actual entities
are equals and false otherwise.Copyright © 2017. All rights reserved.