Uses of Interface
org.mockito.stubbing.OngoingStubbing
-
Packages that use OngoingStubbing Package Description org.mockito Mockito is a mock library for java - see Mockito class for for usage.org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.stubbing Stubbing logic.org.mockito.stubbing External stubbing related classes -
-
Uses of OngoingStubbing in org.mockito
Methods in org.mockito that return OngoingStubbing Modifier and Type Method Description static <T> OngoingStubbing<T>Mockito. when(T methodCall)Enables stubbing methods.Constructors in org.mockito with parameters of type OngoingStubbing Constructor Description BDDOngoingStubbingImpl(OngoingStubbing<T> ongoingStubbing)Deprecated. -
Uses of OngoingStubbing in org.mockito.internal
Methods in org.mockito.internal that return OngoingStubbing Modifier and Type Method Description <T> OngoingStubbing<T>MockitoCore. when(T methodCall) -
Uses of OngoingStubbing in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement OngoingStubbing Modifier and Type Class Description classBaseStubbing<T>classConsecutiveStubbing<T>classOngoingStubbingImpl<T>Methods in org.mockito.internal.stubbing that return OngoingStubbing Modifier and Type Method Description OngoingStubbing<T>ConsecutiveStubbing. then(Answer<?> answer)OngoingStubbing<T>OngoingStubbingImpl. then(Answer<?> answer)OngoingStubbing<T>ConsecutiveStubbing. thenAnswer(Answer<?> answer)OngoingStubbing<T>OngoingStubbingImpl. thenAnswer(Answer<?> answer)OngoingStubbing<T>BaseStubbing. thenCallRealMethod()OngoingStubbing<T>BaseStubbing. thenReturn(T value)OngoingStubbing<T>BaseStubbing. thenReturn(T value, T... values)OngoingStubbing<T>BaseStubbing. thenThrow(java.lang.Class<? extends java.lang.Throwable>... throwableClasses)OngoingStubbing<T>BaseStubbing. thenThrow(java.lang.Throwable... throwables) -
Uses of OngoingStubbing in org.mockito.stubbing
Methods in org.mockito.stubbing that return OngoingStubbing Modifier and Type Method Description OngoingStubbing<T>OngoingStubbing. then(Answer<?> answer)Sets a generic Answer for the method.OngoingStubbing<T>OngoingStubbing. thenAnswer(Answer<?> answer)Sets a generic Answer for the method.OngoingStubbing<T>OngoingStubbing. thenCallRealMethod()Sets the real implementation to be called when the method is called on a mock object.OngoingStubbing<T>OngoingStubbing. thenReturn(T value)Sets a return value to be returned when the method is called.OngoingStubbing<T>OngoingStubbing. thenReturn(T value, T... values)Sets consecutive return values to be returned when the method is called.OngoingStubbing<T>OngoingStubbing. thenThrow(java.lang.Class<? extends java.lang.Throwable>... throwableClasses)Sets Throwable classes to be thrown when the method is called.OngoingStubbing<T>OngoingStubbing. thenThrow(java.lang.Throwable... throwables)Sets Throwable objects to be thrown when the method is called.
-