Class Tuple4Assert<A,B,C,D>

java.lang.Object
org.assertj.core.api.AbstractAssert<Tuple4Assert<A,B,C,D>, Tuple4<A,B,C,D>>
dmx.fun.assertj.Tuple4Assert<A,B,C,D>
Type Parameters:
A - the first element type
B - the second element type
C - the third element type
D - the fourth element type
All Implemented Interfaces:
org.assertj.core.api.Assert<Tuple4Assert<A,B,C,D>, Tuple4<A,B,C,D>>, org.assertj.core.api.Descriptable<Tuple4Assert<A,B,C,D>>, org.assertj.core.api.ExtensionPoints<Tuple4Assert<A,B,C,D>, Tuple4<A,B,C,D>>

@NullMarked public final class Tuple4Assert<A,B,C,D> extends org.assertj.core.api.AbstractAssert<Tuple4Assert<A,B,C,D>, Tuple4<A,B,C,D>>
AssertJ assertions for Tuple4.

Obtain instances via DmxFunAssertions.assertThat(Tuple4).

  • Field Summary

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

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    hasFirst(A expected)
    Verifies that the first element equals the given value.
    hasFourth(D expected)
    Verifies that the fourth element equals the given value.
    hasSecond(B expected)
    Verifies that the second element equals the given value.
    hasThird(C expected)
    Verifies that the third element equals the given value.

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

    actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

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

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

    • hasFirst

      public Tuple4Assert<A,B,C,D> hasFirst(A expected)
      Verifies that the first element equals the given value.
      Parameters:
      expected - the expected first element
      Returns:
      this assertion for chaining
    • hasSecond

      public Tuple4Assert<A,B,C,D> hasSecond(B expected)
      Verifies that the second element equals the given value.
      Parameters:
      expected - the expected second element
      Returns:
      this assertion for chaining
    • hasThird

      public Tuple4Assert<A,B,C,D> hasThird(C expected)
      Verifies that the third element equals the given value.
      Parameters:
      expected - the expected third element
      Returns:
      this assertion for chaining
    • hasFourth

      public Tuple4Assert<A,B,C,D> hasFourth(D expected)
      Verifies that the fourth element equals the given value.
      Parameters:
      expected - the expected fourth element
      Returns:
      this assertion for chaining