@Deprecated public enum Answers extends java.lang.Enum<Answers>
Enum Constant | Description |
---|---|
CALLS_REAL_METHODS |
Deprecated.
|
RETURNS_DEEP_STUBS |
Deprecated.
|
RETURNS_DEFAULTS |
Deprecated.
|
RETURNS_MOCKS |
Deprecated.
|
RETURNS_SMART_NULLS |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
Answer<java.lang.Object> |
get() |
Deprecated.
|
static Answers |
valueOf(java.lang.String name) |
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Answers[] |
values() |
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Answers RETURNS_DEFAULTS
public static final Answers RETURNS_SMART_NULLS
public static final Answers RETURNS_MOCKS
public static final Answers RETURNS_DEEP_STUBS
public static final Answers CALLS_REAL_METHODS
public static Answers[] values()
for (Answers c : Answers.values()) System.out.println(c);
public static Answers valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Answer<java.lang.Object> get()