Interface DescribedInvocation
- All Known Subinterfaces:
Invocation, MatchableInvocation, VerificationAwareInvocation
- All Known Implementing Classes:
InterceptedInvocation, InvocationMatcher, StubbedInvocationMatcher
public interface DescribedInvocation
Provides information about the invocation, specifically a human readable description and the location.
-
Method Summary
Modifier and TypeMethodDescriptionThe place in the code where the invocation happened.toString()Describes the invocation in the human friendly way.
-
Method Details
-
toString
-
getLocation
Location getLocation()The place in the code where the invocation happened.- Returns:
- the location of the invocation.
-