Class CommandResultAssert

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

public final class CommandResultAssert extends org.assertj.core.api.AbstractAssert<CommandResultAssert,@Nullable CommandResult>
Assertions over a returned command dispatch result, without executing or retrying the command.
  • Field Summary

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

    info, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    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

    • isSuccessful

      public CommandResultAssert isSuccessful()
      Returns:
      This assertion after checking that command dispatch reported success.
    • isFailure

      public CommandResultAssert isFailure()
      Returns:
      This assertion after checking that command dispatch reported failure.