ConstructorInstantiator
Date: 2015-09-18

org.mockito.internal.creation.instance

## Class ConstructorInstantiator

- java.lang.Object
- - org.mockito.internal.creation.instance.ConstructorInstantiator

- All Implemented Interfaces:
    Instantiator

      public class ConstructorInstantiator
      extends java.lang.Object
      implements Instantiator

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstructorInstantiator(java.lang.Object outerClassInstance)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `newInstance(java.lang.Class<T> cls)` Creates instance of given class

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

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

- - ### Constructor Detail

    - #### ConstructorInstantiator

          public ConstructorInstantiator(java.lang.Object outerClassInstance)

  - ### Method Detail

    - #### newInstance

          public <T> T newInstance(java.lang.Class<T> cls)

      Description copied from interface: `Instantiator`
      Creates instance of given class
      Specified by:
        `newInstance` in interface `Instantiator`