Package | Description |
---|---|
org.easymock | |
org.easymock.internal |
Modifier and Type | Method | Description |
---|---|---|
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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
MockBuilder<T> |
Default implementation of IMockBuilder.
|
Modifier and Type | Method | Description |
---|---|---|
IMockBuilder<T> |
MockBuilder.addMockedMethod(java.lang.reflect.Method method) |
|
IMockBuilder<T> |
MockBuilder.addMockedMethod(java.lang.String methodName) |
|
IMockBuilder<T> |
MockBuilder.addMockedMethod(java.lang.String methodName,
java.lang.Class<?>... parameterTypes) |
|
IMockBuilder<T> |
MockBuilder.addMockedMethods(java.lang.reflect.Method... methods) |
|
IMockBuilder<T> |
MockBuilder.addMockedMethods(java.lang.String... methodNames) |
|
IMockBuilder<T> |
MockBuilder.withArgs(java.lang.Object... initArgs) |
|
IMockBuilder<T> |
MockBuilder.withConstructor() |
|
IMockBuilder<T> |
MockBuilder.withConstructor(java.lang.Class<?>... argTypes) |
|
IMockBuilder<T> |
MockBuilder.withConstructor(java.lang.Object... initArgs) |
|
IMockBuilder<T> |
MockBuilder.withConstructor(java.lang.reflect.Constructor<?> constructor) |
|
IMockBuilder<T> |
MockBuilder.withConstructor(ConstructorArgs constructorArgs) |
Copyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.