Package org.mockito.invocation
Interface DescribedInvocation
-
- All Known Subinterfaces:
Invocation,MatchableInvocation,VerificationAwareInvocation
- All Known Implementing Classes:
InterceptedInvocation,InvocationMatcher,StubbedInvocationMatcher
public interface DescribedInvocationProvides information about the invocation, specifically a human readable description and the location.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocationgetLocation()The place in the code where the invocation happened.java.lang.StringtoString()Describes the invocation in the human friendly way.
-
-
-
Method Detail
-
toString
java.lang.String toString()
Describes the invocation in the human friendly way.- Overrides:
toStringin classjava.lang.Object- Returns:
- the description of this invocation.
-
getLocation
Location getLocation()
The place in the code where the invocation happened.- Returns:
- the location of the invocation.
-
-