Hide BindingReflections.getModuleInfo()
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / java / org / opendaylight / mdsal / binding / dom / adapter / DataTreeChangeListenerTest.java
index 7576509282c3d1b29b1104bf28380c5e788e51ea..14fca329f20f359053a96a0b4074faf38cd6663e 100644 (file)
@@ -33,7 +33,7 @@ import org.opendaylight.mdsal.binding.api.DataTreeIdentifier;
 import org.opendaylight.mdsal.binding.api.DataTreeModification;
 import org.opendaylight.mdsal.binding.api.WriteTransaction;
 import org.opendaylight.mdsal.binding.dom.adapter.test.AbstractDataBrokerTest;
-import org.opendaylight.mdsal.binding.spec.reflect.BindingReflections;
+import org.opendaylight.mdsal.binding.runtime.spi.BindingRuntimeHelpers;
 import org.opendaylight.mdsal.common.api.LogicalDatastoreType;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.test.augment.rev140709.TreeComplexUsesAugment;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.mdsal.test.binding.rev140701.Top;
@@ -67,7 +67,7 @@ public class DataTreeChangeListenerTest extends AbstractDataBrokerTest {
 
         @Override
         public void onDataTreeChanged(final Collection<DataTreeModification<T>> changes) {
-            this.futureChanges.set(changes);
+            futureChanges.set(changes);
 
         }
 
@@ -81,9 +81,8 @@ public class DataTreeChangeListenerTest extends AbstractDataBrokerTest {
     @Override
     protected Set<YangModuleInfo> getModuleInfos() throws Exception {
         return ImmutableSet.of(
-                BindingReflections.getModuleInfo(TwoLevelList.class),
-                BindingReflections.getModuleInfo(TreeComplexUsesAugment.class)
-                );
+            BindingRuntimeHelpers.getYangModuleInfo(TwoLevelList.class),
+            BindingRuntimeHelpers.getYangModuleInfo(TreeComplexUsesAugment.class));
     }
 
     @Override