use of org.activityinfo.client.dispatch.remote.cache.CachingDispatcher in project activityinfo by bedatadriven.
the class RemoteDispatcherTest method setUp.
@Before
public void setUp() {
service = createMock("remoteService", RemoteCommandServiceAsync.class);
proxy = createMock("proxy", CommandCache.class);
AuthenticatedUser auth = new AuthenticatedUser(AUTH_TOKEN, 1, "alex@alex.com");
dispatcher = new CachingDispatcher(proxyManager, new MergingDispatcher(new RemoteDispatcher(new MockEventBus(), auth, service), scheduler));
}
Aggregations