|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fest.assertions.error.ShouldNotBeEmpty
public class ShouldNotBeEmpty
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
.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ErrorMessageFactory shouldNotBeEmpty()
public String create(Description d)
create
in interface ErrorMessageFactory
d
- the description of the failed assertion.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |