Example usage for com.google.gwt.inject.client AsyncProvider interface-usage

List of usage examples for com.google.gwt.inject.client AsyncProvider interface-usage

Introduction

In this page you can find the example usage for com.google.gwt.inject.client AsyncProvider interface-usage.

Usage

From source file com.gwtplatform.tester.AsyncMockProvider.java

/**
 * For use in test cases where an {@link AsyncProvider} is required to provide
 * an object and the test case needs to provide a mock of the object.
 * <p/>
 * Note that the same mock will be returned for every invocation of of {@link #get(AsyncCallback)}
 * (it behaves as a singleton) which may impact your tests, for example