public class MockitoFeature extends SimpleFeature
| 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.
|
afterMethodRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, initializeprotected final MockProvider provider
public MockitoFeature()
public void start(FeaturesRunner runner) throws Exception
RunnerFeaturestart in interface RunnerFeaturestart in class SimpleFeatureExceptionpublic void testCreated(Object test) throws Exception
RunnerFeaturetestCreated in interface RunnerFeaturetestCreated in class SimpleFeatureExceptionpublic void afterRun(FeaturesRunner runner) throws Exception
RunnerFeatureafterRun in interface RunnerFeatureafterRun in class SimpleFeatureExceptionpublic void stop(FeaturesRunner runner) throws Exception
RunnerFeaturestop in interface RunnerFeaturestop in class SimpleFeatureExceptionprotected void cleanupThread() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
Copyright © 2018 Nuxeo. All rights reserved.