import org.opendaylight.controller.cluster.datastore.ConfigurationImpl;
import org.opendaylight.controller.md.cluster.datastore.model.CarsModel;
import org.opendaylight.controller.md.cluster.datastore.model.TestModel;
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import static junit.framework.Assert.assertNotNull;
import static junit.framework.Assert.assertTrue;
@Test
public void testGetStrategyForKnownModuleName() {
ShardStrategy strategy =
- ShardStrategyFactory.getStrategy(InstanceIdentifier.of(CarsModel.BASE_QNAME));
+ ShardStrategyFactory.getStrategy(
+ YangInstanceIdentifier.of(CarsModel.BASE_QNAME));
assertTrue(strategy instanceof ModuleShardStrategy);
}