Class Tuple2Assert<A,B>
java.lang.Object
org.assertj.core.api.AbstractAssert<Tuple2Assert<A,B>, Tuple2<A,B>>
dmx.fun.assertj.Tuple2Assert<A,B>
- Type Parameters:
A- the first element typeB- the second element type
- All Implemented Interfaces:
org.assertj.core.api.Assert<Tuple2Assert<A,B>, Tuple2<A, B>>, org.assertj.core.api.Descriptable<Tuple2Assert<A, B>>, org.assertj.core.api.ExtensionPoints<Tuple2Assert<A, B>, Tuple2<A, B>>
@NullMarked
public final class Tuple2Assert<A,B>
extends org.assertj.core.api.AbstractAssert<Tuple2Assert<A,B>, Tuple2<A,B>>
AssertJ assertions for
Tuple2.
Obtain instances via DmxFunAssertions.assertThat(Tuple2).
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionVerifies that the first element equals the given value.Verifies that the second 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, withThreadDumpOnErrorMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
hasFirst
Verifies that the first element equals the given value.- Parameters:
expected- the expected first element- Returns:
- this assertion for chaining
-
hasSecond
Verifies that the second element equals the given value.- Parameters:
expected- the expected second element- Returns:
- this assertion for chaining
-