- "test", new ElectionTermImpl(new NonPersistentDataProvider(), "test", LOG), -1, -1,
- peerMap, configParams, new NonPersistentDataProvider(), applyState -> { }, LOG);
+ "test", new ElectionTermImpl(createProvider(), "test", LOG), -1, -1,
+ peerMap, configParams, createProvider(), applyState -> { }, LOG);