Bump upstreams for Silicon
[controller.git] / opendaylight / md-sal / messagebus-util / src / test / java / org / opendaylight / controller / messagebus / app / util / TopicDOMNotificationTest.java
index a366c6963f27cff58795dfb5e268da5ead16cf65..be11b1014a147c4879d2068edc13cfec48234204 100644 (file)
@@ -17,7 +17,7 @@ import org.junit.BeforeClass;
 import org.junit.Test;
 import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventaggregator.rev141202.TopicNotification;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
 import org.junit.Test;
 import org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.messagebus.eventaggregator.rev141202.TopicNotification;
 import org.opendaylight.yangtools.yang.data.api.schema.ContainerNode;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.stmt.SchemaNodeIdentifier.Absolute;
 
 public class TopicDOMNotificationTest {
 
 
 public class TopicDOMNotificationTest {
 
@@ -43,8 +43,8 @@ public class TopicDOMNotificationTest {
 
     @Test
     public void getTypeTest() {
 
     @Test
     public void getTypeTest() {
-        SchemaPath topicNotificationId = SchemaPath.create(true, TopicNotification.QNAME);
-        assertEquals("Type has not been created correctly.", topicNotificationId, topicDOMNotification.getType());
+        assertEquals("Type has not been created correctly.", Absolute.of(TopicNotification.QNAME),
+            topicDOMNotification.getType());
     }
 
     @Test
     }
 
     @Test