public class MockitoFeature extends Object implements RunnerFeature
| Modifier and Type | Field and Description | 
|---|---|
protected MockProvider | 
provider  | 
| Constructor and Description | 
|---|
MockitoFeature()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterRun(FeaturesRunner runner)
After tests were run. 
 | 
protected void | 
cleanupThread()  | 
void | 
start(FeaturesRunner runner)
Features are initialized. 
 | 
void | 
stop(FeaturesRunner runner)
Before exiting the test. 
 | 
void | 
testCreated(Object test)
Notification that a test instance was created. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterMethodRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, initializeprotected final MockProvider provider
public MockitoFeature()
public void start(FeaturesRunner runner)
RunnerFeaturestart in interface RunnerFeaturepublic void testCreated(Object test)
RunnerFeaturetestCreated in interface RunnerFeaturepublic void afterRun(FeaturesRunner runner) throws Exception
RunnerFeatureafterRun in interface RunnerFeatureExceptionpublic void stop(FeaturesRunner runner)
RunnerFeaturestop in interface RunnerFeatureprotected void cleanupThread() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
Copyright © 2019 Nuxeo. All rights reserved.