public class ShouldNotBeNull extends Object implements ErrorMessageFactory
null failed.| Modifier and Type | Method and Description |
|---|---|
String |
create(Description d)
Creates a new error message as a result of a failed assertion.
|
static ErrorMessageFactory |
shouldNotBeNull()
Returns the singleton instance of this class.
|
public static ErrorMessageFactory shouldNotBeNull()
public String create(Description d)
create in interface ErrorMessageFactoryd - the description of the failed assertion.Copyright © 2013 AssertJ. All Rights Reserved.