|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IMockBuilder | |
---|---|
org.easymock | |
org.easymock.classextension |
Uses of IMockBuilder in org.easymock |
---|
Methods in org.easymock that return IMockBuilder | ||
---|---|---|
IMockBuilder<T> |
IMockBuilder.addMockedMethod(Method method)
Adds a method to be mocked in the testing class. |
|
IMockBuilder<T> |
IMockBuilder.addMockedMethod(String methodName)
Adds a method to be mocked in the testing class. |
|
IMockBuilder<T> |
IMockBuilder.addMockedMethod(String methodName,
Class<?>... parameterTypes)
Adds a method to be mocked in the testing class. |
|
IMockBuilder<T> |
IMockBuilder.addMockedMethods(Method... methods)
Adds methods to be mocked in the testing class. |
|
IMockBuilder<T> |
IMockBuilder.addMockedMethods(String... methodNames)
Adds methods to be mocked in the testing class. |
|
|
EasyMockSupport.createMockBuilder(Class<T> toMock)
Create a mock builder allowing to create a partial mock for the given class or interface. |
|
static
|
EasyMock.createMockBuilder(Class<T> toMock)
Create a mock builder allowing to create a partial mock for the given class or interface. |
|
IMockBuilder<T> |
IMockBuilder.withArgs(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(Class<?>... argTypes)
Defines the exact argument types for the constructor to use. |
|
IMockBuilder<T> |
IMockBuilder.withConstructor(Constructor<?> constructor)
Defines the constructor to use to instantiate the mock. |
|
IMockBuilder<T> |
IMockBuilder.withConstructor(Object... initArgs)
Defines the constructor parameters for the mocked class. |
Uses of IMockBuilder in org.easymock.classextension |
---|
Subinterfaces of IMockBuilder in org.easymock.classextension | |
---|---|
interface |
IMockBuilder<T>
Deprecated. Use IMockBuilder instead |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |