public class GlobalConfiguration extends Object implements IMockitoConfiguration
| Constructor and Description |
|---|
GlobalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cleansStackTrace()
This should be turned on unless you're a Mockito developer and you wish
to have verbose (read: messy) stack traces that only few understand (eg:
Mockito developers)
|
AnnotationEngine |
getAnnotationEngine()
Configures annotations for mocks
|
Answer<Object> |
getDefaultAnswer()
Allows configuring the default answers of unstubbed invocations
|
ReturnValues |
getReturnValues() |
static void |
validate() |
public static void validate()
public ReturnValues getReturnValues()
getReturnValues in interface IMockitoConfigurationpublic AnnotationEngine getAnnotationEngine()
IMockitoConfiguration
See javadoc for IMockitoConfiguration
getAnnotationEngine in interface IMockitoConfigurationpublic boolean cleansStackTrace()
IMockitoConfiguration
See javadoc for IMockitoConfiguration
cleansStackTrace in interface IMockitoConfigurationpublic Answer<Object> getDefaultAnswer()
IMockitoConfiguration
See javadoc for IMockitoConfiguration
getDefaultAnswer in interface IMockitoConfigurationCopyright © 2018. All rights reserved.