Interface LenientStubber

    • Method Detail

      • when

        <T> OngoingStubbing<T> when​(T methodCall)
        Allows declaring the method to stub. See Mockito.when(Object). Needed for classic stubbing with when().then()
        Since:
        2.20.0