public class ProxyableObjectAssert<ACTUAL> extends AbstractObjectAssert<ProxyableObjectAssert<ACTUAL>,ACTUAL>
Objects without any final methods to allow proxying.actual, info, myself, throwUnsupportedExceptionOnEquals| Constructor and Description |
|---|
ProxyableObjectAssert(ACTUAL actual) |
ProxyableObjectAssert(AtomicReference<ACTUAL> actual) |
| Modifier and Type | Method and Description |
|---|---|
protected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
newListAssertInstance(List<? extends ELEMENT> newActual)
Create a
AbstractListAssert. |
protected AbstractObjectAssert<?,?> |
newObjectAssert(Object objectUnderTest) |
as, as, extracting, extracting, extracting, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveComparison, usingRecursiveComparisonasList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnErrorpublic ProxyableObjectAssert(ACTUAL actual)
public ProxyableObjectAssert(AtomicReference<ACTUAL> actual)
protected <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> newListAssertInstance(List<? extends ELEMENT> newActual)
AbstractAssertAbstractListAssert.
Implementations need to redefine either to be proxy friendly (i.e. no final assertion methods like ProxyableListAssert)
or generic vararg friendly (to use SafeVarargs annotation which requires final method)like ListAssert.
The default implementation will assume that this concrete implementation is NOT a soft assertion.
newListAssertInstance in class AbstractAssert<ProxyableObjectAssert<ACTUAL>,ACTUAL>ELEMENT - the type of elements.newActual - new valueAbstractListAssert.protected AbstractObjectAssert<?,?> newObjectAssert(Object objectUnderTest)
newObjectAssert in class AbstractObjectAssert<ProxyableObjectAssert<ACTUAL>,ACTUAL>Copyright © 2014–2019 AssertJ. All rights reserved.