public final class DisplayNames
extends java.lang.Object
This class can be used to avoid string literal duplication when assigning DisplayName
to the common test cases.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
HAVE_PARAMETERLESS_CTOR
A name for the test cases checking that a class has private parameterless (aka "utility")
constructor.
|
static java.lang.String |
NOT_ACCEPT_NULLS
A name for the test cases checking that class methods do not accept
null for their
non-nullable arguments. |
public static final java.lang.String HAVE_PARAMETERLESS_CTOR
public static final java.lang.String NOT_ACCEPT_NULLS
null
for their
non-nullable arguments.