Interface OngoingInjector


public interface OngoingInjector
Allow the ongoing injection of a mock candidate.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final OngoingInjector
    Injector that will do nothing, and will return null as no mocks will be injected
  • Method Summary

    Modifier and Type
    Method
    Description
    Inject the mock.
  • Field Details

    • nop

      static final OngoingInjector nop
      Injector that will do nothing, and will return null as no mocks will be injected
  • Method Details

    • thenInject

      Object thenInject()
      Inject the mock.

      Please check the actual implementation.

      Returns:
      the mock that was injected, null otherwise.