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, wait
afterMethodRun, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, configure, initialize
protected final MockProvider provider
public MockitoFeature()
public void start(FeaturesRunner runner)
RunnerFeature
start
in interface RunnerFeature
public void testCreated(Object test)
RunnerFeature
testCreated
in interface RunnerFeature
public void afterRun(FeaturesRunner runner) throws Exception
RunnerFeature
afterRun
in interface RunnerFeature
Exception
public void stop(FeaturesRunner runner)
RunnerFeature
stop
in interface RunnerFeature
protected void cleanupThread() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
Copyright © 2019 Nuxeo. All rights reserved.