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
<T> Mock<T>
MockModule.createMock(java.lang.Object testObject, java.lang.String name, java.lang.Class<?> type)
           
<T> Mock<T>
MockModule.createPartialMock(java.lang.Object testObject, java.lang.String name, java.lang.Class<?> type)
           
 

Methods in org.unitils.mock with parameters of type Mock
protected  void MockModule.callAfterCreateMockMethods(java.lang.Object testObject, Mock<?> mockObject, java.lang.String name, java.lang.Class<?> type)
          Calls all AfterCreateMock annotated methods on the test, passing the given mock.
protected  void MockModule.injectMock(java.lang.Object testObject, java.lang.reflect.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.
 

Methods in org.unitils.mock.core that return Mock
<M> Mock<M>
MockObject.createMock(java.lang.String name, java.lang.Class<M> mockedType)
           
<T> Mock<T>
MockFactory.createMock(java.lang.String name, java.lang.Class<T> mockedType)
           
 

Uses of Mock in org.unitils.mock.core.matching.impl
 

Methods in org.unitils.mock.core.matching.impl with parameters of type Mock
protected abstract  java.lang.Object AssertVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
           
protected  java.lang.Object AssertNotInvokedVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
           
protected  java.lang.Object AssertInvokedVerifyingMatchingInvocationHandler.performChainedAssertion(Mock<?> mock)
           
protected  java.lang.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 © 2009. All Rights Reserved.