org.mockito.internal.creation
Class MockFactory<T>

java.lang.Object
  extended by org.mockito.internal.creation.MockFactory<T>

public class MockFactory<T>
extends java.lang.Object

Factory generating a mock for a class.


Constructor Summary
MockFactory()
           
 
Method Summary
 T createMock(java.lang.Class<T> toMock, MethodInterceptorFilter filter, java.lang.Object optionalInstance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockFactory

public MockFactory()
Method Detail

createMock

public T createMock(java.lang.Class<T> toMock,
                    MethodInterceptorFilter filter,
                    java.lang.Object optionalInstance)