+ ShardStrategyFactory factory;
+
+ @Rule
+ public ExpectedException expectedEx = ExpectedException.none();
+
+ @Before
+ public void setUp() {
+ factory = new ShardStrategyFactory(
+ new ConfigurationImpl("module-shards.conf", "modules.conf"), LogicalDatastoreType.CONFIGURATION);
+ }
+
+ @Test
+ public void testGetStrategy() {
+ ShardStrategy strategy = factory.getStrategy(TestModel.TEST_PATH);
+ assertNotNull(strategy);
+ }