Class FakeRequest<T>
java.lang.Object
com.google.web.bindery.requestfactory.shared.testing.FakeRequest<T>
- Type Parameters:
T
- The return type of objects in the corresponding response.
- All Implemented Interfaces:
Request<T>
A no-op implementation of Request that can be used as a base type for writing
unit tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fire()
No-op.void
No-op.Returnsnull
.Returnsnull
.Returnsthis
.
-
Constructor Details
-
FakeRequest
public FakeRequest()
-
-
Method Details
-
fire
public void fire()No-op. -
getRequestContext
Returnsnull
.- Specified by:
getRequestContext
in interfaceRequest<T>
-
with
Returnsthis
.
-