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 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.