Clean up NotificationMessage
[netconf.git] / plugins / sal-netconf-connector / src / test / java / org / opendaylight / netconf / sal / connect / netconf / NetconfToNotificationTest.java
index ebb2a93b659f98ac247a1ff09a93801bd7f49a27..2e3c7c744a747b17352e739a11d2cc3bf9f2295d 100644 (file)
@@ -80,7 +80,7 @@ public class NetconfToNotificationTest extends AbstractBaseSchemasTest {
         assertNotNull(root);
         assertEquals(6, root.body().size());
         assertEquals("user-visited-page", root.getIdentifier().getNodeType().getLocalName());
-        assertEquals(NotificationMessage.RFC3339_DATE_PARSER.apply("2015-10-23T09:42:27.67175+00:00").toInstant(),
+        assertEquals(NotificationMessage.RFC3339_DATE_PARSER.apply("2015-10-23T09:42:27.67175+00:00"),
                 ((DOMEvent) domNotification).getEventInstant());
     }
 }