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

public Class ShouldBeExhausted

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.util.Iterator, org.assertj.core.util.VisibleForTesting

Creates an error message indicating that an assertion that verifies that an Iterator has no more elements failed.
Author
Stephan Windmüller

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldBeExhausted
()

Creates a new ShouldBeExhausted.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Field Detail

SHOULD_BE_EXHAUSTEDback to summary
public static final String SHOULD_BE_EXHAUSTED
Annotations
@VisibleForTesting

Constructor Detail

ShouldBeExhaustedback to summary
private ShouldBeExhausted()

Method Detail

shouldBeExhaustedback to summary
public static ErrorMessageFactory shouldBeExhausted()

Creates a new ShouldBeExhausted.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.