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