MockObjectNamingSchemepublic class RetroNamingScheme extends Object implements MockObjectNamingScheme
| Modifier and Type | Field | Description |
|---|---|---|
static RetroNamingScheme |
INSTANCE |
| Constructor | Description |
|---|---|
RetroNamingScheme() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
defaultNameFor(Class<?> typeToMock) |
Derive a name for a mock object from the name of the given type.
|
public static final RetroNamingScheme INSTANCE
public String defaultNameFor(Class<?> typeToMock)
MockObjectNamingSchemedefaultNameFor in interface MockObjectNamingSchemetypeToMock - The type being mocked.Copyright © 2003–2018 jMock. All rights reserved.