IMockBuilder<T> |
IMockBuilder.addMockedMethod(java.lang.reflect.Method method) |
Adds a method to be mocked in the testing class.
|
IMockBuilder<T> |
IMockBuilder.addMockedMethod(java.lang.String methodName) |
Adds a method to be mocked in the testing class.
|
IMockBuilder<T> |
IMockBuilder.addMockedMethod(java.lang.String methodName,
java.lang.Class<?>... parameterTypes) |
Adds a method to be mocked in the testing class.
|
IMockBuilder<T> |
IMockBuilder.addMockedMethods(java.lang.reflect.Method... methods) |
Adds methods to be mocked in the testing class.
|
IMockBuilder<T> |
IMockBuilder.addMockedMethods(java.lang.String... methodNames) |
Adds methods to be mocked in the testing class.
|
static <T> IMockBuilder<T> |
EasyMock.createMockBuilder(java.lang.Class<T> toMock) |
Create a mock builder allowing to create a partial mock for the given
class or interface.
|
<T> IMockBuilder<T> |
EasyMockSupport.createMockBuilder(java.lang.Class<T> toMock) |
Create a mock builder allowing to create a partial mock for the given
class or interface.
|
static <T> IMockBuilder<T> |
EasyMock.partialMockBuilder(java.lang.Class<T> toMock) |
Create a mock builder allowing to create a partial mock for the given
class or interface.
|
<T> IMockBuilder<T> |
EasyMockSupport.partialMockBuilder(java.lang.Class<T> toMock) |
Create a mock builder allowing to create a partial mock for the given
class or interface.
|
IMockBuilder<T> |
IMockBuilder.withArgs(java.lang.Object... initArgs) |
Defines the arguments to be passed to the constructor of the class.
|
IMockBuilder<T> |
IMockBuilder.withConstructor() |
Defines the empty constructor should be called.
|
IMockBuilder<T> |
IMockBuilder.withConstructor(java.lang.Class<?>... argTypes) |
Defines the exact argument types for the constructor to use.
|
IMockBuilder<T> |
IMockBuilder.withConstructor(java.lang.Object... initArgs) |
Defines the constructor parameters for the mocked class.
|
IMockBuilder<T> |
IMockBuilder.withConstructor(java.lang.reflect.Constructor<?> constructor) |
Defines the constructor to use to instantiate the mock.
|