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

public Class IteratorAssert<ELEMENT>

extends AbstractIteratorAssert<IteratorAssert<ELEMENT>, ELEMENT>
Class Inheritance
Type Parameters
<ELEMENT>
the type of elements of the "actual" value.
Imports
java.util.Iterator

Assertion methods for Iterator.

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

Author
Stephan Windmüller

Field Summary

Inherited from org.assertj.core.api.AbstractIteratorAssert:
iterators

Constructor Summary

AccessConstructor and Description
public
IteratorAssert(Iterator<? extends ELEMENT> actual)

Method Summary

Modifier and TypeMethod and Description
public static <ELEMENT> IteratorAssert<ELEMENT>
assertThatIterator(Iterator<? extends ELEMENT> actual)

Inherited from org.assertj.core.api.AbstractIteratorAssert:
hasNextisExhaustedisUnmodifiabletoIterable

Constructor Detail

IteratorAssertback to summary
public IteratorAssert(Iterator<? extends ELEMENT> actual)

Method Detail

assertThatIteratorback to summary
public static <ELEMENT> IteratorAssert<ELEMENT> assertThatIterator(Iterator<? extends ELEMENT> actual)