Package org.assertj.core.error
Class ShouldHaveNext
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveNext
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveNext extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that anIteratorhas a next element failed.- Author:
- Stephan Windmüller
-
-
Field Summary
Fields Modifier and Type Field Description private static StringSHOULD_HAVE_NEXT-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldHaveNext()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldHaveNext()Creates a new.ShouldHaveNext-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_HAVE_NEXT
private static final String SHOULD_HAVE_NEXT
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldHaveNext
public static ErrorMessageFactory shouldHaveNext()
Creates a new.ShouldHaveNext- Returns:
- the created
ErrorMessageFactory.
-
-