1/*
2 * Copyright (c) 2007 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.mock;
6
7/**
8 * Represents the name of the mock as shown in the verification failure reports, etc.
9 */
10public interface MockName {
11
12    /**
13     * the name
14     */
15    String toString();
16
17    /**
18     * default name means generated by Mockito. non-default means the user has named the mock at creation.
19     */
20    boolean isDefault();
21}
22