DbModule.testModule(Bindings.annotatedKeyFactory(Delegated.class)),
new MemStorageModule(KeyFactory.PLAIN),
new AbstractModule() {
@Override
protected void configure() {
bind(StatsProvider.class).toInstance(new FakeStatsProvider());
bind(Clock.class).toInstance(clock);
bind(StateManager.class).to(StateManagerImpl.class);
bind(Driver.class).toInstance(driver);
bind(TaskIdGenerator.class).to(TaskIdGeneratorImpl.class);
bind(RescheduleCalculator.class).to(RescheduleCalculatorImpl.class);