Uses of Package
org.mockito.stubbing
-
Classes in org.mockito.stubbing used by org.mockito Class Description Answer Generic interface to be used for configuring mock's answer.Answer1 Generic interface to be used for configuring mock's answer for a single argument invocation.Answer2 Generic interface to be used for configuring mock's answer for a two argument invocation.Answer3 Generic interface to be used for configuring mock's answer for a three argument invocation.Answer4 Generic interface to be used for configuring mock's answer for a four argument invocation.Answer5 Generic interface to be used for configuring mock's answer for a five argument invocation.Answer6 Generic interface to be used for configuring mock's answer for a six argument invocation.LenientStubber Used for declaring optional stubbings withMockito.lenient()
OngoingStubbing Simply put: "When the x method is called then return y".Stubber Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleStubbing Stubbing declared on the mock object.VoidAnswer1 Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.VoidAnswer2 Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.VoidAnswer3 Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.VoidAnswer4 Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.VoidAnswer5 Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.VoidAnswer6 Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing. -
Classes in org.mockito.stubbing used by org.mockito.configuration Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal Class Description LenientStubber Used for declaring optional stubbings withMockito.lenient()
OngoingStubbing Simply put: "When the x method is called then return y".Stubber Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style -
Classes in org.mockito.stubbing used by org.mockito.internal.configuration Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal.creation Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal.creation.bytebuddy Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal.creation.settings Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal.invocation.finder Class Description Stubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.internal.junit Class Description Stubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.internal.listeners Class Description Stubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.internal.progress Class Description OngoingStubbing Simply put: "When the x method is called then return y". -
Classes in org.mockito.stubbing used by org.mockito.internal.stubbing Class Description Answer Generic interface to be used for configuring mock's answer.BaseStubber Base interface for stubbing consecutive method calls withMockito.doReturn(Object)
syntax.LenientStubber Used for declaring optional stubbings withMockito.lenient()
OngoingStubbing Simply put: "When the x method is called then return y".Stubber Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleStubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.answers Class Description Answer Generic interface to be used for configuring mock's answer.Answer1 Generic interface to be used for configuring mock's answer for a single argument invocation.Answer2 Generic interface to be used for configuring mock's answer for a two argument invocation.Answer3 Generic interface to be used for configuring mock's answer for a three argument invocation.Answer4 Generic interface to be used for configuring mock's answer for a four argument invocation.Answer5 Generic interface to be used for configuring mock's answer for a five argument invocation.Answer6 Generic interface to be used for configuring mock's answer for a six argument invocation.ValidableAnswer Allow to validate this answer is correct for the given invocation.VoidAnswer1 Generic interface to be used for configuring mock's answer for a single argument invocation that returns nothing.VoidAnswer2 Generic interface to be used for configuring mock's answer for a two argument invocation that returns nothing.VoidAnswer3 Generic interface to be used for configuring mock's answer for a three argument invocation that returns nothing.VoidAnswer4 Generic interface to be used for configuring mock's answer for a four argument invocation that returns nothing.VoidAnswer5 Generic interface to be used for configuring mock's answer for a five argument invocation that returns nothing.VoidAnswer6 Generic interface to be used for configuring mock's answer for a six argument invocation that returns nothing. -
Classes in org.mockito.stubbing used by org.mockito.internal.stubbing.defaultanswers Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.internal.util Class Description Stubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.listeners Class Description Stubbing Stubbing declared on the mock object. -
Classes in org.mockito.stubbing used by org.mockito.mock Class Description Answer Generic interface to be used for configuring mock's answer. -
Classes in org.mockito.stubbing used by org.mockito.stubbing Class Description Answer Generic interface to be used for configuring mock's answer.BaseStubber Base interface for stubbing consecutive method calls withMockito.doReturn(Object)
syntax.OngoingStubbing Simply put: "When the x method is called then return y".Stubber Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() style