Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Field and Description |
---|---|
protected List<IMocksControl> |
EasyMockSupport.controls
List of all controls created
|
Modifier and Type | Method and Description |
---|---|
IMocksControl |
EasyMockSupport.createControl()
Creates a control, order checking is disabled by default.
|
static IMocksControl |
EasyMock.createControl()
Creates a control, order checking is disabled by default.
|
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.
|
IMocksControl |
EasyMockSupport.createNiceControl()
Creates a control, order checking is disabled by default, and the mock
objects created by this control will return
0 ,
null or false for unexpected invocations. |
static IMocksControl |
EasyMock.createNiceControl()
Creates a control, order checking is disabled by default, and the mock
objects created by this control will return
0 ,
null or false for unexpected invocations. |
IMocksControl |
EasyMockSupport.createStrictControl()
Creates a control, order checking is enabled by default.
|
static IMocksControl |
EasyMock.createStrictControl()
Creates a control, order checking is enabled by default.
|
Modifier and Type | Method and Description |
---|---|
<R> R |
IMockBuilder.createMock(IMocksControl control)
Create mock from the provided mock control using the arguments passed to
the builder.
|
<R> R |
IMockBuilder.createMock(String name,
IMocksControl control)
Create named mock from the provided mock control using the arguments
passed to the builder.
|
default <R> R |
IMockBuilder.mock(IMocksControl control)
Create mock from the provided mock control using the arguments passed to
the builder.
|
default <R> R |
IMockBuilder.mock(String name,
IMocksControl control)
Create named mock from the provided mock control using the arguments
passed to the builder.
|
Modifier and Type | Class and Description |
---|---|
class |
MocksControl |
Modifier and Type | Method and Description |
---|---|
<R> R |
MockBuilder.createMock(IMocksControl control) |
<R> R |
MockBuilder.createMock(String name,
IMocksControl control) |
Copyright © 2001–2022 EasyMock contributors. All rights reserved.