Package | Description |
---|---|
org.jmock |
The jMock "Domain-Specific Embedded Language" API.
|
org.jmock.integration.junit3 |
Integrates jMock with JUnit 3.
|
org.jmock.internal |
This package contains internal implementation details.
|
org.jmock.lib |
Implementations of the core interfaces that are used to adjust or extend jMock's basic
functionality.
|
org.jmock.lib.legacy |
Plugins that make it easier to use jMock with legacy code.
|
Modifier and Type | Method and Description |
---|---|
void |
Mockery.setImposteriser(Imposteriser imposteriser)
Changes the imposteriser used to adapt mock objects to the mocked type.
|
Modifier and Type | Method and Description |
---|---|
void |
MockObjectTestCase.setImposteriser(Imposteriser imposteriser)
Changes the imposteriser used to adapt mock objects to the mocked type.
|
Modifier and Type | Method and Description |
---|---|
void |
ReturnDefaultValueAction.setImposteriser(Imposteriser newImposteriser) |
Constructor and Description |
---|
ReturnDefaultValueAction(Imposteriser imposteriser) |
ReturnDefaultValueAction(Imposteriser imposteriser,
Map<Class<?>,Object> typeToResultValue) |
Modifier and Type | Class and Description |
---|---|
class |
JavaReflectionImposteriser
An
Imposteriser that uses the
Proxy class of the Java Reflection API. |
Modifier and Type | Field and Description |
---|---|
static Imposteriser |
JavaReflectionImposteriser.INSTANCE |
Modifier and Type | Class and Description |
---|---|
class |
ClassImposteriser
This class lets you imposterise abstract and concrete classes
without calling the constructors of the mocked class.
|
Modifier and Type | Field and Description |
---|---|
static Imposteriser |
ClassImposteriser.INSTANCE |
Copyright © 2003–2021 jMock. All rights reserved.