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