return new AbstractModule() {
@Override
protected void configure() {
bind(Storage.class).to(Key.get(Storage.class, LogStorage.WriteBehind.class));
bind(NonVolatileStorage.class).to(FakeNonVolatileStorage.class);
bind(DistributedSnapshotStore.class).toInstance(new DistributedSnapshotStore() {
@Override
public void persist(Snapshot snapshot) throws CodingException {
// No-op.
}
});