|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IMockBuilder in org.easymock.classextension |
---|
Methods in org.easymock.classextension that return IMockBuilder | ||
---|---|---|
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
|
EasyMock.createMockBuilder(java.lang.Class<T> toMock)
|
|
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.reflect.Constructor<?> constructor)
Defines the constructor to use to instantiate the mock. |
|
IMockBuilder<T> |
IMockBuilder.withConstructor(ConstructorArgs constructorArgs)
Defines the constructor and arguments to use to instantiate the mock. |
|
IMockBuilder<T> |
IMockBuilder.withConstructor(java.lang.Object... initArgs)
Defines the constructor parameters for the mocked class. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |