|
JSF Test Framework: Mockito 1.1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.faces.mockito.factory.FactoryMockingService
public class FactoryMockingService
The service class for creating new factory mocks and their enhancing by mocking ability.
| Constructor Summary | |
|---|---|
FactoryMockingService()
|
|
| Method Summary | ||
|---|---|---|
|
createFactoryMock(Class<T> type)
Creates the factory mock. |
|
|
enhance(FactoryMock<T> factoryMock,
T mockToEnhance)
Enhance the factored mock by mocking ability. |
|
static FactoryMockingService |
getInstance()
Gets the single instance of FactoryMockingService. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FactoryMockingService()
| Method Detail |
|---|
public static FactoryMockingService getInstance()
public <T> FactoryMock<T> createFactoryMock(Class<T> type)
T - the generic typetype - the type
public <T> void enhance(FactoryMock<T> factoryMock,
T mockToEnhance)
T - the generic typefactoryMock - the factory mockmockToEnhance - the mock to enhance
|
JSF Test Framework: Mockito 1.1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||