Class ObjectAssert<ACTUAL>
java.lang.Object
org.assertj.core.api.AbstractAssert<ObjectAssert<ACTUAL>, ACTUAL>
org.assertj.core.api.AbstractObjectAssert<ObjectAssert<ACTUAL>, ACTUAL>
org.assertj.core.api.ObjectAssert<ACTUAL>
- Type Parameters:
ACTUAL- the type of the "actual" value.
- All Implemented Interfaces:
Assert<ObjectAssert<ACTUAL>, ACTUAL>, Descriptable<ObjectAssert<ACTUAL>>, ExtensionPoints<ObjectAssert<ACTUAL>, ACTUAL>
Assertion methods for
Objects.
To create a new instance of this class, invoke .
Assertions.assertThat(Object)
-
Field Summary
Fields inherited from class AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsConstructorDescriptionObjectAssert(ACTUAL actual) ObjectAssert(AtomicReference<ACTUAL> actual) Deprecated. -
Method Summary
Methods inherited from class AbstractObjectAssert
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, withComparatorByPropertyOrField, withTypeComparatorMethods inherited from class 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, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Descriptable
as, describedAs, describedAs
-
Constructor Details
-
ObjectAssert
-
ObjectAssert
Deprecated.useassertThat(actual.get())orAtomicReferenceAssert.hasValueSatisfying(Consumer).
-
assertThat(actual.get())orAtomicReferenceAssert.hasValueSatisfying(Consumer).