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