Uses of Interface org.easymock.IMockBuilder (EasyMock 3.3.1 API)
Date: 2015-01-05

## Uses of Interface
org.easymock.IMockBuilder

- Packages that use IMockBuilder
  Package | Description
  --- | ---
  org.easymock |
  org.easymock.internal |

- - ### Uses of IMockBuilder in org.easymock

    Methods in org.easymock that return IMockBuilder
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `<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.`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.internal

    Classes in org.easymock.internal that implement IMockBuilder
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MockBuilder<T>` Default implementation of IMockBuilder.

    Methods in org.easymock.internal that return IMockBuilder
    Modifier and Type | Method and Description
    --- | ---
    `IMockBuilder<T>` | MockBuilder.`addMockedMethod(Method method)`
    `IMockBuilder<T>` | MockBuilder.`addMockedMethod(String methodName)`
    `IMockBuilder<T>` | MockBuilder.`addMockedMethod(String methodName, Class<?>... parameterTypes)`
    `IMockBuilder<T>` | MockBuilder.`addMockedMethods(Method... methods)`
    `IMockBuilder<T>` | MockBuilder.`addMockedMethods(String... methodNames)`
    `IMockBuilder<T>` | MockBuilder.`withArgs(Object... initArgs)`
    `IMockBuilder<T>` | MockBuilder.`withConstructor()`
    `IMockBuilder<T>` | MockBuilder.`withConstructor(Class<?>... argTypes)`
    `IMockBuilder<T>` | MockBuilder.`withConstructor(Constructor<?> constructor)`
    `IMockBuilder<T>` | MockBuilder.`withConstructor(ConstructorArgs constructorArgs)`
    `IMockBuilder<T>` | MockBuilder.`withConstructor(Object... initArgs)`

Copyright © 2001–2015 EasyMock contributors. All rights reserved.