Clean up NotificationMessage
[netconf.git] / plugins / sal-netconf-connector / src / test / java / org / opendaylight / netconf / sal / connect / netconf / NetconfNestedNotificationTest.java
index 89ed25bb2f9da7cfd609b1c8f293754b14409731..abcc3005071362953bc66dfbf4eb598e6fd8d4f3 100644 (file)
@@ -52,7 +52,7 @@ public class NetconfNestedNotificationTest extends AbstractBaseSchemasTest {
         assertNotNull(root);
         assertEquals(1, root.body().size());
         assertEquals("interface-enabled", root.getIdentifier().getNodeType().getLocalName());
-        assertEquals(NotificationMessage.RFC3339_DATE_PARSER.apply("2008-07-08T00:01:00Z").toInstant(),
+        assertEquals(NotificationMessage.RFC3339_DATE_PARSER.apply("2008-07-08T00:01:00Z"),
                 ((DOMEvent) domNotification).getEventInstant());
         assertEquals(Absolute.of(INTERFACES_QNAME, INTERFACE_QNAME, INTERFACE_ENABLED_NOTIFICATION_QNAME),
                 domNotification.getType());