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