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 TypeMethodDescriptionvoidanswer(InvocationOnMock invocation) voidmarkStubUsed(DescribedInvocation usedAt) toString()Describes the invocation in the human friendly way.booleanwasUsed()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:DescribedInvocationDescribes the invocation in the human friendly way.- Specified by:
toStringin interfaceDescribedInvocation- Specified by:
toStringin interfacePrintableInvocation- Overrides:
toStringin classInvocationMatcher- Returns:
- the description of this invocation.
-