Package org.assertj.core.api
Class ProxyableObjectArrayAssert<ELEMENT>
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ELEMENT[]>
org.assertj.core.api.AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
org.assertj.core.api.ProxyableObjectArrayAssert<ELEMENT>
- All Implemented Interfaces:
ArraySortedAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
,ELEMENT>, ELEMENT> Assert<ProxyableObjectArrayAssert<ELEMENT>,
,ELEMENT[]> Descriptable<ProxyableObjectArrayAssert<ELEMENT>>
,EnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
,ELEMENT>, ELEMENT> ExtensionPoints<ProxyableObjectArrayAssert<ELEMENT>,
,ELEMENT[]> IndexedObjectEnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
,ELEMENT>, ELEMENT> ObjectEnumerableAssert<AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
ELEMENT>, ELEMENT>
public class ProxyableObjectArrayAssert<ELEMENT>
extends AbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,ELEMENT>
Concrete assertions for arrays of objects without any final methods to allow proxying.
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractObjectArrayAssert
arrays, comparatorsByType, comparatorsForElementPropertyOrFieldNames, comparatorsForElementPropertyOrFieldTypes, iterables
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <E> AbstractListAssert<?,
List<? extends E>, E, ObjectAssert<E>> newListAssertInstance
(List<? extends E> newActual) Create a friendly soft or "hard" assertion.protected ProxyableObjectArrayAssert<ELEMENT>
newObjectArrayAssert
(ELEMENT[] array) Methods inherited from class org.assertj.core.api.AbstractObjectArrayAssert
allMatch, allMatch, allSatisfy, anyMatch, anySatisfy, are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, as, as, contains, contains, containsAll, containsAnyElementsOf, containsAnyOf, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsExactlyInAnyOrderElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyNulls, containsOnlyOnce, containsOnlyOnceElementsOf, containsSequence, containsSequence, containsSubsequence, containsSubsequence, doesNotContain, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotContainSequence, doesNotContainSequence, doesNotContainSubsequence, doesNotContainSubsequence, doesNotHaveAnyElementsOfTypes, doesNotHaveDuplicates, doNotHave, endsWith, endsWith, extracting, extracting, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOn, filteredOn, filteredOnAssertions, filteredOnNull, flatExtracting, flatExtracting, flatExtracting, getComparatorsByType, getComparatorsForElementPropertyOrFieldTypes, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasOnlyElementsOfTypes, hasOnlyOneElementSatisfying, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSorted, isSortedAccordingTo, isSubsetOf, isSubsetOf, noneMatch, noneSatisfy, satisfiesExactly, satisfiesExactlyInAnyOrder, startsWith, usingComparatorForElementFieldsWithNames, usingComparatorForElementFieldsWithType, usingComparatorForType, usingDefaultElementComparator, usingElementComparator, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator, usingRecursiveComparison, usingRecursiveComparison, usingRecursiveFieldByFieldElementComparator, withAssertionState, withComparatorsForElementPropertyOrFieldNames, withComparatorsForElementPropertyOrFieldTypes, withIterables, withObjectArrays, withTypeComparators, zipSatisfy
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, is, isElementOfCustomAssert, 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, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, describedAs
-
Constructor Details
-
ProxyableObjectArrayAssert
-
ProxyableObjectArrayAssert
-
ProxyableObjectArrayAssert
-
-
Method Details
-
newObjectArrayAssert
- Specified by:
newObjectArrayAssert
in classAbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
ELEMENT>
-
newListAssertInstance
protected <E> AbstractListAssert<?,List<? extends E>, newListAssertInstanceE, ObjectAssert<E>> (List<? extends E> newActual) Description copied from class:AbstractObjectArrayAssert
Create a friendly soft or "hard" assertion.Implementations need to redefine it so that some methods, such as
AbstractObjectArrayAssert.extracting(Function)
, are able to build the appropriate list assert (eg:ListAssert
versusProxyableListAssert
).The default implementation will assume that this concrete implementation is NOT a soft assertion.
- Overrides:
newListAssertInstance
in classAbstractObjectArrayAssert<ProxyableObjectArrayAssert<ELEMENT>,
ELEMENT> - Type Parameters:
E
- the type of elements.- Parameters:
newActual
- new value- Returns:
- a new
AbstractListAssert
.
-