Package org.assertj.core.error
Class ShouldNotBeEmpty
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldNotBeEmpty
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotBeEmpty extends BasicErrorMessageFactory
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 aString
.- Author:
- Alex Ruiz
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldNotBeEmpty()
Returns the singleton instance of this class.-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldNotBeEmpty
public static ErrorMessageFactory shouldNotBeEmpty()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
-