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.
|
<R> R |
IMockBuilder.createMock(MockType type)
Create mock of the request type from this builder.
|
static <T> T |
EasyMock.createMock(MockType type,
Class<?> toMock)
Creates a mock object, of the requested type, that implements the given interface
or extends the given class.
|
<T,R> R |
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
|
<R> R |
IMockBuilder.createMock(String name,
MockType type)
Create a named mock of the request type from this builder.
|
static <T> T |
EasyMock.createMock(String name,
MockType type,
Class<?> toMock)
Creates a mock object, of the requested type and name, that implements the given interface
or extends the given class
|
<T,R> R |
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
|
default <R> R |
IMockBuilder.mock(MockType type)
Create mock of the request type from this builder.
|
static <T> T |
EasyMock.mock(MockType type,
Class<?> toMock)
Creates a mock object, of the requested type, that implements the given interface
or extends the given class
|
<T,R> R |
EasyMockSupport.mock(MockType type,
Class<T> toMock)
Creates a mock object of the requested type that implements the given interface or extends
the given class
|
default <R> R |
IMockBuilder.mock(String name,
MockType type)
Create a named mock of the request type from this builder.
|
static <T> T |
EasyMock.mock(String name,
MockType type,
Class<?> toMock)
Creates a mock object, of the requested type and name, that implements the given interface
or extends the given class
|
<T,R> R |
EasyMockSupport.mock(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
|
Modifier and Type | Method and Description |
---|---|
MockType |
MocksControl.getType() |
Modifier and Type | Method and Description |
---|---|
<R> R |
MockBuilder.createMock(MockType type) |
<R> R |
MockBuilder.createMock(String name,
MockType type) |
Constructor and Description |
---|
MocksControl(MockType type) |
Copyright © 2001–2022 EasyMock contributors. All rights reserved.