/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.configuration; import org.mockito.configuration.IMockitoConfiguration; import org.mockito.exceptions.misusing.MockitoConfigurationException; import org.mockito.plugins.MockMaker; /** * Loads configuration or extension points available in the classpath. * *
*
org.mockito.configuration.MockitoConfiguration
that implements
* {@link IMockitoConfiguration}. For example :
*
* package org.mockito.configuration;
*
* //...
*
* public class MockitoConfiguration implements IMockitoConfiguration {
* boolean enableClassCache() { return false; }
*
* // ...
* }
*
* org.awesome.mockito.AwesomeMockMaker
.org.mockito.plugins.MockMaker
in a folder named
* mockito-extensions
, the content of this file need to have one line with
* the qualified name org.awesome.mockito.AwesomeMockMaker
.