Move mdsal-binding-dom-adapter tests
[mdsal.git] / binding / mdsal-binding-dom-adapter / src / test / java / org / opendaylight / mdsal / binding / dom / adapter / test / AbstractNotificationBrokerTest.java
index c711bca0f668d421fb8b31a8f6a04f1c58514ead..8500a87212a84d879355afbe2711f19024bb7538 100644 (file)
@@ -9,24 +9,24 @@ package org.opendaylight.mdsal.binding.dom.adapter.test;
 
 import org.opendaylight.mdsal.binding.api.NotificationPublishService;
 import org.opendaylight.mdsal.binding.api.NotificationService;
-import org.opendaylight.mdsal.binding.dom.adapter.BindingToNormalizedNodeCodec;
+import org.opendaylight.mdsal.binding.dom.adapter.AdapterContext;
 import org.opendaylight.mdsal.dom.broker.DOMNotificationRouter;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 
 public class AbstractNotificationBrokerTest extends AbstractSchemaAwareTest {
-    private BindingToNormalizedNodeCodec bindingToNormalizedNodeCodec;
+    private AdapterContext bindingToNormalizedNodeCodec;
     private DOMNotificationRouter domNotificationRouter;
     private NotificationService notificationService;
     private NotificationPublishService notificationPublishService;
 
 
     @Override
-    protected void setupWithSchema(final SchemaContext context) {
+    protected void setupWithSchema(final EffectiveModelContext context) {
         final DataBrokerTestCustomizer testCustomizer = createDataBrokerTestCustomizer();
         domNotificationRouter = testCustomizer.getDomNotificationRouter();
         notificationService = testCustomizer.createNotificationService();
         notificationPublishService = testCustomizer.createNotificationPublishService();
-        bindingToNormalizedNodeCodec = testCustomizer.getBindingToNormalized();
+        bindingToNormalizedNodeCodec = testCustomizer.getAdapterContext();
         testCustomizer.updateSchema(context);
     }
 
@@ -46,7 +46,7 @@ public class AbstractNotificationBrokerTest extends AbstractSchemaAwareTest {
         return domNotificationRouter;
     }
 
-    public BindingToNormalizedNodeCodec getBindingToNormalizedNodeCodec() {
+    public AdapterContext getBindingToNormalizedNodeCodec() {
         return bindingToNormalizedNodeCodec;
     }
 }