Package org.assertj.core.error
Class ShouldNotBeNull
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldNotBeNull
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotBeNull extends BasicErrorMessageFactory
Creates an error message that indicates an assertion that verifies that an object is notnull
failed.
-
-
Field Summary
Fields Modifier and Type Field Description private static ShouldNotBeNull
INSTANCE
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldNotBeNull()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldNotBeNull()
Returns the singleton instance of this class.-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
INSTANCE
private static final ShouldNotBeNull INSTANCE
-
-
Method Detail
-
shouldNotBeNull
public static ErrorMessageFactory shouldNotBeNull()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
-