SubscriptionEvaluator subscriptionEvaluator = mock(SubscriptionEvaluator.class);
JobService jobService = mock(JobService.class);
JobHandlerRegistry jobHandlerRegistry = mock(JobHandlerRegistry.class);
return new DefaultDatabus(lifeCycle, eventBus, dataProvider, subscriptionDao, eventStore, subscriptionEvaluator,
jobService, jobHandlerRegistry, new MetricRegistry(), Suppliers.ofInstance(Conditions.alwaysFalse()),
<BUG>ticker);
}</BUG>
private static EventData newEvent(final String id, String table, String key, UUID changeId) {
return newEvent(id, table, key, changeId, ImmutableSet.<String>of());
}

SubscriptionEvaluator subscriptionEvaluator = mock(SubscriptionEvaluator.class);
JobService jobService = mock(JobService.class);
JobHandlerRegistry jobHandlerRegistry = mock(JobHandlerRegistry.class);
return new DefaultDatabus(lifeCycle, eventBus, dataProvider, subscriptionDao, eventStore, subscriptionEvaluator,
jobService, jobHandlerRegistry, new MetricRegistry(), Suppliers.ofInstance(Conditions.alwaysFalse()),
clock);
}
private static EventData newEvent(final String id, String table, String key, UUID changeId) {
return newEvent(id, table, key, changeId, ImmutableSet.<String>of());
}
