DescribedInvocation
Date: 2015-09-18

org.mockito.invocation

## Interface DescribedInvocation

- All Superinterfaces:
    PrintableInvocation
  All Known Subinterfaces:
    Invocation, VerificationAwareInvocation
  All Known Implementing Classes:
    InvocationImpl, InvocationMatcher, StubbedInvocationMatcher

      public interface DescribedInvocation
      extends PrintableInvocation

  Provides information about the invocation, specifically a human readable description and the location.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Location` | `getLocation()` The place in the code where the invocation happened.
    `java.lang.String` | `toString()` Describes the invocation in the human friendly way.

- - ### Method Detail

    - #### toString

          java.lang.String toString()

      Describes the invocation in the human friendly way.
      Specified by:
        `toString` in interface `PrintableInvocation`
      Overrides:
        `toString` in class `java.lang.Object`
      Returns:
        the description of this invocation.

    - #### getLocation

          Location getLocation()

      The place in the code where the invocation happened.
      Specified by:
        `getLocation` in interface `PrintableInvocation`
      Returns:
        the location of the invocation.