Package org.assertj.core.error
Class ShouldHaveNext
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveNext
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that an
Iterator
has a next element
failed.- Author:
- Stephan Windmüller
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldHaveNext
Creates a new
.ShouldHaveNext
- Returns:
- the created
ErrorMessageFactory
.
-