public class CamelCaseNamingScheme extends Object implements MockObjectNamingScheme
Modifier and Type | Field and Description |
---|---|
static CamelCaseNamingScheme |
INSTANCE |
Constructor and Description |
---|
CamelCaseNamingScheme() |
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 final CamelCaseNamingScheme INSTANCE
public String defaultNameFor(Class<?> typeToMock)
MockObjectNamingScheme
defaultNameFor
in interface MockObjectNamingScheme
typeToMock
- The type being mocked.Copyright © 2003–2018 jMock. All rights reserved.