- private void writeRoot(final LogicalDatastoreType store) {
- final ReadWriteTransaction readWriteTransaction = getDataBroker().newReadWriteTransaction();
- final Barroot barRoot = new BarrootBuilder().setType(2).setValue(2).setKey(new BarrootKey(2)).build();
- final ArrayList barRootList = new ArrayList();
- barRootList.add(barRoot);
- final Fooroot fooRoot = new FoorootBuilder().setBarroot(barRootList).build();
- final ArrayList fooRootList = new ArrayList();
- fooRootList.add(fooRoot);
- final Root root = new RootBuilder().setFooroot(fooRootList).build();
-
- readWriteTransaction.put(store, ROOT_PATH, root);
- assertCommit(readWriteTransaction.submit());
+ @Override
+ protected Set<YangModuleInfo> getModuleInfos() throws Exception {
+ return ImmutableSet.of(BindingReflections.getModuleInfo(Root.class));