Interface OngoingInjector


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

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

      • nop

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

      • thenInject

        java.lang.Object thenInject()
        Inject the mock.

        Please check the actual implementation.

        Returns:
        the mock that was injected, null otherwise.