org.mockito.configuration
Class DefaultMockitoConfiguration

java.lang.Object
  extended by org.mockito.configuration.DefaultMockitoConfiguration
All Implemented Interfaces:
IMockitoConfiguration

public class DefaultMockitoConfiguration
extends java.lang.Object
implements IMockitoConfiguration

DefaultConfiguration of Mockito framework

Currently it doesn't have many configuration options but it will probably change if future.

See javadocs for IMockitoConfiguration on info how to configure Mockito


Constructor Summary
DefaultMockitoConfiguration()
           
 
Method Summary
 AnnotationEngine getAnnotationEngine()
          Configures annotations for mocks
 ReturnValues getReturnValues()
          Allows configuring the default return values of unstubbed invocations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMockitoConfiguration

public DefaultMockitoConfiguration()
Method Detail

getReturnValues

public ReturnValues getReturnValues()
Description copied from interface: IMockitoConfiguration
Allows configuring the default return values of unstubbed invocations

See javadoc for IMockitoConfiguration

Specified by:
getReturnValues in interface IMockitoConfiguration

getAnnotationEngine

public AnnotationEngine getAnnotationEngine()
Description copied from interface: IMockitoConfiguration
Configures annotations for mocks

See javadoc for IMockitoConfiguration

Specified by:
getAnnotationEngine in interface IMockitoConfiguration