|
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.FactoryMockImpl<T>
T - the generic typepublic class FactoryMockImpl<T>
The implementation of factory mocks - mocks which needs to be created by constructing class instance by class name (e.g. {@see Class#forName(String)).
| Method Summary | |
|---|---|
T |
createNewMockInstance()
Creates the new mock instance. |
Class<T> |
getMockClass()
Gets the mock class. |
String |
getMockClassName()
Gets the mock class name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Class<T> getMockClass()
FactoryMock
getMockClass in interface FactoryMock<T>public String getMockClassName()
FactoryMock
getMockClassName in interface FactoryMock<T>public T createNewMockInstance()
FactoryMock
createNewMockInstance in interface FactoryMock<T>
|
JSF Test Framework: Mockito 1.1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||