public enum MockType extends Enum<MockType>
| Enum Constant and Description | 
|---|
| DEFAULTA default mock expects only recorded calls but in any order | 
| NICEA nice mock expects recorded calls in any order and returning null for other calls | 
| STRICTA strict mock expects only recorded calls and they should be replayed in their recorded order | 
| Modifier and Type | Method and Description | 
|---|---|
| static MockType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MockType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MockType NICE
public static final MockType DEFAULT
public static final MockType STRICT
public static MockType[] values()
for (MockType c : MockType.values()) System.out.println(c);
public static MockType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001–2014 EasyMock contributors. All rights reserved.