MockInjection.OngoingMockInjection
Date: 2015-09-18

org.mockito.internal.configuration.injection

## Class MockInjection.OngoingMockInjection

- java.lang.Object
- - org.mockito.internal.configuration.injection.MockInjection.OngoingMockInjection

- Enclosing class:
    MockInjection

      public static class MockInjection.OngoingMockInjection
      extends java.lang.Object

  Ongoing configuration of the mock injector.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `apply()`
    `MockInjection.OngoingMockInjection` | `handleSpyAnnotation()`
    `MockInjection.OngoingMockInjection` | `tryConstructorInjection()`
    `MockInjection.OngoingMockInjection` | `tryPropertyOrFieldInjection()`
    `MockInjection.OngoingMockInjection` | `withMocks(java.util.Set<java.lang.Object> mocks)`

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

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

- - ### Method Detail

    - #### withMocks

          public MockInjection.OngoingMockInjection withMocks(java.util.Set<java.lang.Object> mocks)

    - #### tryConstructorInjection

          public MockInjection.OngoingMockInjection tryConstructorInjection()

    - #### tryPropertyOrFieldInjection

          public MockInjection.OngoingMockInjection tryPropertyOrFieldInjection()

    - #### handleSpyAnnotation

          public MockInjection.OngoingMockInjection handleSpyAnnotation()

    - #### apply

          public void apply()