Package org.assertj.core.error
Class ShouldNotBeEmpty
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotBeEmpty
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies a group of elements is not empty failed. A group of
elements can be a collection, an array or a
String
.-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
Returns the singleton instance of this class.Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ShouldNotBeEmpty
private ShouldNotBeEmpty()
-
-
Method Details
-
shouldNotBeEmpty
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-