Uses of Interface
org.mockito.stubbing.OngoingStubbing
Packages that use OngoingStubbing
Package
Description
Mockito is a mock library for java - see Mockito class for for usage.
Internal classes, not to be used by clients.
Stubbing logic.
External stubbing related classes
-
Uses of OngoingStubbing in org.mockito
Methods in org.mockito that return OngoingStubbingModifier and TypeMethodDescriptionstatic <T> OngoingStubbing<T>
Mockito.when
(T methodCall) Enables stubbing methods.Constructors in org.mockito with parameters of type OngoingStubbingModifierConstructorDescriptionBDDOngoingStubbingImpl
(OngoingStubbing<T> ongoingStubbing) Deprecated. -
Uses of OngoingStubbing in org.mockito.internal
Methods in org.mockito.internal that return OngoingStubbing -
Uses of OngoingStubbing in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement OngoingStubbingMethods in org.mockito.internal.stubbing that return OngoingStubbingModifier and TypeMethodDescriptionConsecutiveStubbing.thenAnswer
(Answer<?> answer) OngoingStubbingImpl.thenAnswer
(Answer<?> answer) BaseStubbing.thenCallRealMethod()
BaseStubbing.thenReturn
(T value) BaseStubbing.thenReturn
(T value, T... values) -
Uses of OngoingStubbing in org.mockito.stubbing
Methods in org.mockito.stubbing that return OngoingStubbingModifier and TypeMethodDescriptionSets a generic Answer for the method.OngoingStubbing.thenAnswer
(Answer<?> answer) Sets a generic Answer for the method.OngoingStubbing.thenCallRealMethod()
Sets the real implementation to be called when the method is called on a mock object.OngoingStubbing.thenReturn
(T value) Sets a return value to be returned when the method is called.OngoingStubbing.thenReturn
(T value, T... values) Sets consecutive return values to be returned when the method is called.Sets Throwable classes to be thrown when the method is called.Sets Throwable objects to be thrown when the method is called.