Class InteractionResultAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<InteractionResultAssert,@Nullable InteractionResult>
nl.pim16aap2.lightkeeper.framework.assertions.InteractionResultAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<InteractionResultAssert,InteractionResult>, org.assertj.core.api.Descriptable<InteractionResultAssert>, org.assertj.core.api.ExtensionPoints<InteractionResultAssert,InteractionResult>

public final class InteractionResultAssert extends org.assertj.core.api.AbstractAssert<InteractionResultAssert,@Nullable InteractionResult>
Assertions over a completed interaction; cancellation checks require an actual fired event.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    info, throwUnsupportedExceptionOnEquals
  • Method Summary

    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, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs, describedAs
  • Method Details

    • hasFiredEvent

      public InteractionResultAssert hasFiredEvent()
      Returns:
      This assertion after checking that the interaction fired a real event.
    • isCancelled

      public InteractionResultAssert isCancelled()
      Returns:
      This assertion after checking that a fired event was cancelled.
    • isNotCancelled

      public InteractionResultAssert isNotCancelled()
      Returns:
      This assertion after checking that a fired event was not cancelled.