Package org.mockito.internal.stubbing
Class StubbedInvocationMatcher
java.lang.Object
org.mockito.internal.invocation.InvocationMatcher
org.mockito.internal.stubbing.StubbedInvocationMatcher
- All Implemented Interfaces:
Serializable
,PrintableInvocation
,CapturesArgumensFromInvocation
,DescribedInvocation
,Answer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
answer
(InvocationOnMock invocation) void
markStubUsed
(DescribedInvocation usedAt) toString()
Describes the invocation in the human friendly way.boolean
wasUsed()
Methods inherited from class org.mockito.internal.invocation.InvocationMatcher
captureArgumentsFrom, createFrom, getInvocation, getLocation, getMatchers, getMethod, hasSameMethod, hasSimilarMethod, matches
-
Constructor Details
-
StubbedInvocationMatcher
-
-
Method Details
-
answer
-
addAnswer
-
markStubUsed
-
wasUsed
public boolean wasUsed() -
toString
Description copied from interface:DescribedInvocation
Describes the invocation in the human friendly way.- Specified by:
toString
in interfaceDescribedInvocation
- Specified by:
toString
in interfacePrintableInvocation
- Overrides:
toString
in classInvocationMatcher
- Returns:
- the description of this invocation.
-