Uses of Interface
org.unitils.mock.Mock

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
<T> Mock<T>
MockModule.createMock(Object testObject, String name, Class<?> type)
           
protected
<T> Mock<T>
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
<M> Mock<M>
MockObject.createChainedMock(String name, Class<M> mockedType)
           
<T> Mock<T>
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)
           
 



Copyright © 2011. All Rights Reserved.