public class WithStaticFinders extends Object
| Constructor and Description |
|---|
WithStaticFinders() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun()
After the end of a MockiEbean run calls restoreOriginal().
|
void |
beforeRun()
Before the start of a MockiEbean run calls useTestDoubles().
|
void |
restoreOriginal()
Restore the original implementations.
|
void |
useTestDoubles()
Use test doubles replacing original implementations.
|
<T> WithStaticFinder<T> |
withFinder(Class<T> beanType)
Create and return a WithStaticFinder.
|
public WithStaticFinders()
public <T> WithStaticFinder<T> withFinder(Class<T> beanType)
public void useTestDoubles()
public void restoreOriginal()
public void beforeRun()
public void afterRun()
Copyright © 2016. All rights reserved.