Top Description Fields Constructors Methods
org.assertj.core.api

public Class ObjectArrayAssert<ELEMENT>

extends AbstractObjectArrayAssert<ObjectArrayAssert<ELEMENT>, ELEMENT>
Class Inheritance
Type Parameters
<ELEMENT>
the type of elements of the "actual" value.
Static Imports
org.assertj.core.util.Arrays.array

Assertion methods for arrays of objects.

To create an instance of this class, invoke Assertions#assertThat(Object[]).

Authors
Yvonne Wang, Alex Ruiz, Joel Costigliola, Nicolas François, Mikhail Mazursky

Field Summary

Inherited from org.assertj.core.api.AbstractObjectArrayAssert:
arrayscomparatorsByTypecomparatorsForElementPropertyOrFieldNamescomparatorsForElementPropertyOrFieldTypesiterables

Constructor Summary

AccessConstructor and Description
public
ObjectArrayAssert(ELEMENT[] actual)

public

Method Summary

Modifier and TypeMethod and Description
protected ObjectArrayAssert<ELEMENT>
Inherited from org.assertj.core.api.AbstractObjectArrayAssert:
allMatchallMatchallSatisfyallSatisfyanyMatchanySatisfyanySatisfyareareAtLeastareAtLeastOneareAtMostareExactlyareNotasascontainscontainscontainsAllcontainsAnyElementsOfcontainsAnyOfcontainsAnyOfForProxycontainsExactlycontainsExactlyElementsOfcontainsExactlyForProxycontainsExactlyInAnyOrdercontainsExactlyInAnyOrderElementsOfcontainsExactlyInAnyOrderForProxycontainsForProxycontainsNullcontainsOnlycontainsOnlyElementsOfcontainsOnlyForProxycontainsOnlyNullscontainsOnlyOncecontainsOnlyOnceElementsOfcontainsOnlyOnceForProxycontainsSequencecontainsSequencecontainsSequenceForProxycontainsSubsequencecontainsSubsequencecontainsSubsequenceForProxydoesNotContaindoesNotContaindoesNotContainAnyElementsOfdoesNotContainForProxydoesNotContainNulldoesNotContainSequencedoesNotContainSequencedoesNotContainSequenceForProxydoesNotContainSubsequencedoesNotContainSubsequencedoesNotContainSubsequenceForProxydoesNotHaveAnyElementsOfTypesdoesNotHaveDuplicatesdoNotHaveendsWithendsWithendsWithForProxyextractingextractingextractingextractingextractingextractingextractingForProxyextractingResultOfextractingResultOffilteredOnfilteredOnfilteredOnfilteredOnfilteredOnfilteredOnAssertionsfilteredOnAssertionsfilteredOnNullflatExtractingflatExtractingflatExtractinggetComparatorsByTypegetComparatorsForElementPropertyOrFieldTypeshasAtLeastOneElementOfTypehasExactlyElementsOfTypeshasOnlyElementsOfTypehasOnlyElementsOfTypeshasOnlyOneElementSatisfyinghasSameElementsAshasSameSizeAshasSameSizeAshasSizehasSizeBetweenhasSizeGreaterThanhasSizeGreaterThanOrEqualTohasSizeLessThanhasSizeLessThanOrEqualTohavehaveAtLeasthaveAtLeastOnehaveAtMosthaveExactlyinBinaryinHexadecimalisEmptyisNotEmptyisNullOrEmptyisSortedisSortedAccordingToisSubsetOfisSubsetOfisSubsetOfForProxynavigationDescriptionnewListAssertInstancenoneMatchnoneSatisfynoneSatisfysatisfiesExactlysatisfiesExactlysatisfiesExactlyForProxysatisfiesExactlyInAnyOrdersatisfiesExactlyInAnyOrdersatisfiesExactlyInAnyOrderForProxysatisfiesOnlyOncesatisfiesOnlyOncesatisfiesOnlyOnceForProxysingleElementsingleElementstartsWithstartsWithForProxyusingComparatorForElementFieldsWithNamesusingComparatorForElementFieldsWithTypeusingComparatorForTypeusingDefaultElementComparatorusingElementComparatorusingElementComparatorIgnoringFieldsusingElementComparatorOnFieldsusingFieldByFieldElementComparatorusingRecursiveAssertionusingRecursiveAssertionusingRecursiveComparisonusingRecursiveComparisonusingRecursiveFieldByFieldElementComparatorusingRecursiveFieldByFieldElementComparatorusingRecursiveFieldByFieldElementComparatorIgnoringFieldsusingRecursiveFieldByFieldElementComparatorOnFieldswithAssertionStatewithComparatorsForElementPropertyOrFieldNameswithComparatorsForElementPropertyOrFieldTypeswithIterableswithObjectArrayswithTypeComparatorszipSatisfy

Constructor Detail

ObjectArrayAssertback to summary
public ObjectArrayAssert(ELEMENT[] actual)
ObjectArrayAssertback to summary
public ObjectArrayAssert(AtomicReferenceArray<ELEMENT> actual)

Method Detail

newObjectArrayAssertback to summary
protected ObjectArrayAssert<ELEMENT> newObjectArrayAssert(ELEMENT[] array)

Implements abstract org.assertj.core.api.AbstractObjectArrayAssert.newObjectArrayAssert.

Annotations
@Override