- followerConfigDatastore = (DistributedDataStore) followerTestKit.setupDistributedDataStore(
- "config", MODULE_SHARDS_CONFIG, true, SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());
- followerOperDatastore = (DistributedDataStore) followerTestKit.setupDistributedDataStore(
- "operational", MODULE_SHARDS_CONFIG, true,
+ followerConfigDatastore = followerTestKit.setupDistributedDataStore(
+ "config", moduleShardsConfig, true, SchemaContextHelper.distributedShardedDOMDataTreeSchemaContext());
+ followerOperDatastore = followerTestKit.setupDistributedDataStore(
+ "operational", moduleShardsConfig, true,