Class EntitySnapshotAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<EntitySnapshotAssert,@Nullable EntitySnapshot>
nl.pim16aap2.lightkeeper.framework.assertions.EntitySnapshotAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<EntitySnapshotAssert,,EntitySnapshot> org.assertj.core.api.Descriptable<EntitySnapshotAssert>,org.assertj.core.api.ExtensionPoints<EntitySnapshotAssert,EntitySnapshot>
public final class EntitySnapshotAssert
extends org.assertj.core.api.AbstractAssert<EntitySnapshotAssert,@Nullable EntitySnapshot>
Position and display-transform assertions over one frozen entity observation.
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
info, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionChecks the entity's captured position using an inclusive Euclidean tolerance.position()Methods inherited from class org.assertj.core.api.AbstractAssert
actual, asInstanceOf, asList, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
isAt
Checks the entity's captured position using an inclusive Euclidean tolerance.- Parameters:
expected- Finite expected position.tolerance- Finite nonnegative maximum distance.- Returns:
- This assertion.
-
position
- Returns:
- Frozen position assertions retaining the entity identity in diagnostics.
-
transform
- Returns:
- Frozen display-transform assertions; a non-display entity fails navigation clearly.
-