T - Type of the mock instance to returnpublic class MockitoFactoryBean<T>
extends org.springframework.beans.factory.config.AbstractFactoryBean<T>
| Constructor and Description |
|---|
MockitoFactoryBean(Class<? extends T> type) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
createInstance() |
protected void |
destroyInstance(T instance) |
Class<? extends T> |
getObjectType() |
static void |
resetAllMocks()
Reset all mocks that have been created with this factory, usually called from the @Before
method in a junit test case to reset mocks before each test
|
public static void resetAllMocks()
Copyright © 2015 Jasig. All Rights Reserved.