Class BlockStateSnapshotAssert

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

public final class BlockStateSnapshotAssert extends org.assertj.core.api.AbstractAssert<BlockStateSnapshotAssert,@Nullable BlockStateSnapshot>
Partial spec assertions over a frozen block state, using the snapshot's canonical matcher.
  • Field Summary

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

    info, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    withState(BlockSpec expected)
    Checks material and every explicitly named property.

    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

    • withState

      public BlockStateSnapshotAssert withState(BlockSpec expected)
      Checks material and every explicitly named property.
      Parameters:
      expected - Partial expected block state.
      Returns:
      This assertion.