ConstructorArgs
Date: 2015-09-17

org.easymock

## Class ConstructorArgs

- java.lang.Object
- - org.easymock.ConstructorArgs

-     public class ConstructorArgs
      extends java.lang.Object

  Class wrapping arguments to create a partial class mock that gets instantiated by calling one of its constructors

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstructorArgs(java.lang.reflect.Constructor<?> constructor, java.lang.Object... initArgs)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.reflect.Constructor<?>` | `getConstructor()`
    `java.lang.Object[]` | `getInitArgs()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConstructorArgs

          public ConstructorArgs(java.lang.reflect.Constructor<?> constructor,
                         java.lang.Object... initArgs)

      Parameters:
        `constructor` - Constructor to be called when creating the mock
        `initArgs` - Arguments passed to the constructor

  - ### Method Detail

    - #### getInitArgs

          public java.lang.Object[] getInitArgs()

      Returns:
        arguments to be passed to the constructor

    - #### getConstructor

          public java.lang.reflect.Constructor<?> getConstructor()

      Returns:
        constructor to be called