Uses of Interface
org.easymock.IMockBuilder
-
Uses of IMockBuilder in org.easymock
Modifier and TypeMethodDescriptionIMockBuilder.addMockedMethod
(Method method) Adds a method to be mocked in the testing class.IMockBuilder.addMockedMethod
(String methodName) Adds a method to be mocked in the testing class.IMockBuilder.addMockedMethod
(String methodName, Class<?>... parameterTypes) Adds a method to be mocked in the testing class.IMockBuilder.addMockedMethods
(Method... methods) Adds methods to be mocked in the testing class.IMockBuilder.addMockedMethods
(String... methodNames) Adds methods to be mocked in the testing class.static <T> IMockBuilder
<T> EasyMock.createMockBuilder
(Class<?> toMock) Create a mock builder allowing to create a partial mock for the given class or interface.<T> IMockBuilder
<T> EasyMockSupport.createMockBuilder
(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
(Class<?> toMock) Create a mock builder allowing to create a partial mock for the given class or interface.<T> IMockBuilder
<T> EasyMockSupport.partialMockBuilder
(Class<T> toMock) Create a mock builder allowing to create a partial mock for the given class or interface.Defines the arguments to be passed to the constructor of the class.IMockBuilder.withConstructor()
Defines the empty constructor should be called.IMockBuilder.withConstructor
(Class<?>... argTypes) Defines the exact argument types for the constructor to use.IMockBuilder.withConstructor
(Object... initArgs) Defines the constructor parameters for the mocked class.IMockBuilder.withConstructor
(Constructor<?> constructor) Defines the constructor to use to instantiate the mock. -
Uses of IMockBuilder in org.easymock.internal
Modifier and TypeMethodDescriptionMockBuilder.addMockedMethod
(Method method) MockBuilder.addMockedMethod
(String methodName) MockBuilder.addMockedMethod
(String methodName, Class<?>... parameterTypes) MockBuilder.addMockedMethods
(Method... methods) MockBuilder.addMockedMethods
(String... methodNames) MockBuilder.withConstructor()
MockBuilder.withConstructor
(Class<?>... argTypes) MockBuilder.withConstructor
(Object... initArgs) MockBuilder.withConstructor
(Constructor<?> constructor) MockBuilder.withConstructor
(ConstructorArgs constructorArgs)