|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type that this interface can providepublic interface FakeProvider<T>
Interface implemented by an object capable of providing fake instances of a
given type. Instances of this interface must be registered via
GwtMockito.useProviderForType(java.lang.Class>, com.google.gwtmockito.fakes.FakeProvider>).
| Method Summary | |
|---|---|
T |
getFake(Class<?> type)
Returns a fake implementation of the given type. |
| Method Detail |
|---|
T getFake(Class<?> type)
type - the actual type passed to GWT.create. Usually this is the same
as T, but it could be a subtype or a completely unrelated type
depending on how GwtMockito.useProviderForType(java.lang.Class>, com.google.gwtmockito.fakes.FakeProvider>) was
called.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||