public void start() {
        initWanReplication();
    }
@Test(expected = InvalidConfigurationException.class)
    public void testThrowsWhenMerkleTreeNotConfiguredWithPublisherWithMerkleTreeSync() {
        WanBatchPublisherConfig batchPublisherConfig = mock(WanBatchPublisherConfig.class);
        WanSyncConfig syncConfig = mock(WanSyncConfig.class);
        when(batchPublisherConfig.getSyncConfig()).thenReturn(syncConfig);
        when(syncConfig.getConsistencyCheckStrategy()).thenReturn(ConsistencyCheckStrategy.MERKLE_TREES);
        List<WanBatchPublisherConfig> publishers = List.of(batchPublisherConfig);

        when(merkleTreeConfig.getEnabled()).thenReturn(false);
        when(wanReplicationConfig.getBatchPublisherConfigs()).thenReturn(publishers);

        mapWanContext.start();
    }