org.assertj.core.api
Class ListAssert<T>

java.lang.Object
  extended by org.assertj.core.api.AbstractAssert<S,A>
      extended by org.assertj.core.api.AbstractIterableAssert<S,A,T>
          extended by org.assertj.core.api.AbstractListAssert<ListAssert<T>,List<? extends T>,T>
              extended by org.assertj.core.api.ListAssert<T>
Type Parameters:
T - the type of elements of the "actual" value.
All Implemented Interfaces:
Assert<ListAssert<T>,List<? extends T>>, Descriptable<ListAssert<T>>, EnumerableAssert<ListAssert<T>,T>, ExtensionPoints<ListAssert<T>,List<? extends T>>, IndexedObjectEnumerableAssert<ListAssert<T>,T>, ObjectEnumerableAssert<ListAssert<T>,T>

public class ListAssert<T>
extends AbstractListAssert<ListAssert<T>,List<? extends T>,T>

Assertion methods for Lists.

To create an instance of this class, invoke Assertions.assertThat(List).

Author:
Yvonne Wang, Alex Ruiz, Joel Costigliola, Mikhail Mazursky

Field Summary
 
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself
 
Constructor Summary
protected ListAssert(List<? extends T> actual)
           
 
Method Summary
 
Methods inherited from class org.assertj.core.api.AbstractListAssert
contains, doesNotContain, has, is, isSorted, isSortedAccordingTo, usingComparisonStrategy, usingDefaultElementComparator, usingElementComparator
 
Methods inherited from class org.assertj.core.api.AbstractIterableAssert
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsExactlyElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, extracting, extracting, extracting, extracting, extractingResultOf, extractingResultOf, flatExtracting, hasAtLeastOneElementOfType, hasOnlyElementsOfType, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, startsWith, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator
 
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.assertj.core.api.ObjectEnumerableAssert
are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsExactly, containsNull, containsOnly, containsOnlyOnce, containsSequence, containsSubsequence, doesNotContain, doesNotContainNull, doesNotHaveDuplicates, doNotHave, endsWith, hasAtLeastOneElementOfType, hasOnlyElementsOfType, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, startsWith
 
Methods inherited from interface org.assertj.core.api.EnumerableAssert
hasSameSizeAs, hasSameSizeAs, hasSize, isEmpty, isNotEmpty, isNullOrEmpty
 

Constructor Detail

ListAssert

protected ListAssert(List<? extends T> actual)


Copyright © 2013–2015 AssertJ. All rights reserved.