MockitoAnnotations.initMocks(this);
context = new RaftActorContextImpl(mockRaftActorRef, null, "test",
- new ElectionTermImpl(mockPersistence, "test", LOG),
- -1, -1, Collections.<String,String>emptyMap(), configParams, mockPersistence, LOG) {
+ new ElectionTermImpl(mockPersistence, "test", LOG), -1, -1, Collections.<String,String>emptyMap(),
+ configParams, mockPersistence, applyState -> { }, LOG) {
@Override
public SnapshotManager getSnapshotManager() {
return mockSnapshotManager;