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)
MockObjectNamingScheme
defaultNameFor
in interface MockObjectNamingScheme
typeToMock
- The type being mocked.Copyright © 2003–2021 jMock. All rights reserved.