|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Mock | |
---|---|
org.unitils.mock | |
org.unitils.mock.core | |
org.unitils.mock.core.matching.impl |
Uses of Mock in org.unitils.mock |
---|
Subinterfaces of Mock in org.unitils.mock | |
---|---|
interface |
PartialMock<T>
Declares the contract for a controller object that enables defining the behavior of methods of a partial mock object, or for performing assert statements that verify that certain calls were effectively made. |
Methods in org.unitils.mock that return Mock | ||
---|---|---|
protected
|
MockModule.createMock(Object testObject,
String name,
Class<?> type)
|
|
protected
|
MockModule.createPartialMock(Object testObject,
String name,
Class<?> type)
|
Methods in org.unitils.mock with parameters of type Mock | |
---|---|
protected void |
MockModule.callAfterCreateMockMethods(Object testObject,
Mock<?> mockObject,
String name)
Calls all AfterCreateMock annotated methods on the test, passing the given mock. |
protected void |
MockModule.injectMock(Object testObject,
Field field,
Mock<?> mock)
|
Uses of Mock in org.unitils.mock.core |
---|
Classes in org.unitils.mock.core that implement Mock | |
---|---|
class |
MockObject<T>
Implementation of a Mock. |
class |
PartialMockObject<T>
Implementation of a PartialMock. |
Fields in org.unitils.mock.core with type parameters of type Mock | |
---|---|
protected Map<String,Mock<?>> |
MockObject.chainedMocksPerName
|
Methods in org.unitils.mock.core that return Mock | ||
---|---|---|
|
MockObject.createChainedMock(String name,
Class<M> mockedType)
|
|
|
MockFactory.createChainedMock(String name,
Class<T> mockedType)
|
Uses of Mock in org.unitils.mock.core.matching.impl |
---|
Fields in org.unitils.mock.core.matching.impl declared as Mock | |
---|---|
protected Mock<?> |
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior.mock
|
Methods in org.unitils.mock.core.matching.impl with parameters of type Mock | |
---|---|
protected abstract Object |
AssertVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
|
protected Object |
AssertNotInvokedVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
|
protected Object |
AssertInvokedVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
|
protected Object |
AssertInvokedInSequenceVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
|
Constructors in org.unitils.mock.core.matching.impl with parameters of type Mock | |
---|---|
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior(Mock<?> mock,
BehaviorDefiningInvocation behaviorDefiningInvocation)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |