Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Method and Description |
---|---|
static MockType |
MockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MockType[] |
MockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IMocksControl |
EasyMockSupport.createControl(MockType type)
Creates a control of the given type.
|
static IMocksControl |
EasyMock.createControl(MockType type)
Creates a control of the requested type.
|
T |
IMockBuilder.createMock(MockType type)
Create mock of the request type from this builder.
|
<T> T |
EasyMockSupport.createMock(MockType type,
Class<T> toMock)
Creates a mock object of the requested type that implements the given interface or extends
the given class
|
static <T> T |
EasyMock.createMock(MockType type,
Class<T> toMock)
Creates a mock object, of the requested type, that implements the given interface
or extends the given class
|
T |
IMockBuilder.createMock(String name,
MockType type)
Create a named mock of the request type from this builder.
|
<T> T |
EasyMockSupport.createMock(String name,
MockType type,
Class<T> toMock)
Creates a mock object of the requested type that implements the given interface or extends
the given class
|
static <T> T |
EasyMock.createMock(String name,
MockType type,
Class<T> toMock)
Creates a mock object, of the requested type and name, that implements the given interface
or extends the given class
|
Modifier and Type | Field and Description |
---|---|
MockType |
MocksControl.MockType.realType
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
MockType |
MocksControl.getType() |
Modifier and Type | Method and Description |
---|---|
T |
MockBuilder.createMock(MockType type) |
T |
MockBuilder.createMock(String name,
MockType type) |
Constructor and Description |
---|
MocksControl(MockType type) |
Copyright © 2001–2014 EasyMock contributors. All rights reserved.