MockName
Date: 2015-09-18

org.mockito.mock

## Interface MockName

- All Known Implementing Classes:
    MockNameImpl

      public interface MockName

  Represents the name of the mock as shown in the verification failure reports, etc.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isDefault()` default name means generated by Mockito.
    `java.lang.String` | `toString()` the name

- - ### Method Detail

    - #### toString

          java.lang.String toString()

      the name
      Overrides:
        `toString` in class `java.lang.Object`

    - #### isDefault

          boolean isDefault()

      default name means generated by Mockito. non-default means the user has named the mock at creation.