Package org.assertj.core.api
Class IteratorAssert<ELEMENT>
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<SELF,java.util.Iterator<? extends ELEMENT>>
-
- org.assertj.core.api.AbstractIteratorAssert<IteratorAssert<ELEMENT>,ELEMENT>
-
- org.assertj.core.api.IteratorAssert<ELEMENT>
-
- Type Parameters:
ELEMENT
- the type of elements of the "actual" value.
- All Implemented Interfaces:
Assert<IteratorAssert<ELEMENT>,java.util.Iterator<? extends ELEMENT>>
,Descriptable<IteratorAssert<ELEMENT>>
,ExtensionPoints<IteratorAssert<ELEMENT>,java.util.Iterator<? extends ELEMENT>>
public class IteratorAssert<ELEMENT> extends AbstractIteratorAssert<IteratorAssert<ELEMENT>,ELEMENT>
Assertion methods forIterator
.To create an instance of this class, invoke
.Assertions.assertThat(Iterator)
-
-
Field Summary
-
Fields inherited from class org.assertj.core.api.AbstractIteratorAssert
iterators
-
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, assertionErrorCreator, conditions, customRepresentation, info, myself, objects, printAssertionsDescription, throwUnsupportedExceptionOnEquals
-
-
Constructor Summary
Constructors Constructor Description IteratorAssert(java.util.Iterator<? extends ELEMENT> actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <ELEMENT> IteratorAssert<ELEMENT>
assertThatIterator(java.util.Iterator<? extends ELEMENT> actual)
-
Methods inherited from class org.assertj.core.api.AbstractIteratorAssert
hasNext, isExhausted, toIterable
-
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withAssertionState, 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, as, as, describedAs
-
-
-
-
Constructor Detail
-
IteratorAssert
public IteratorAssert(java.util.Iterator<? extends ELEMENT> actual)
-
-
Method Detail
-
assertThatIterator
public static <ELEMENT> IteratorAssert<ELEMENT> assertThatIterator(java.util.Iterator<? extends ELEMENT> actual)
-
-