Fix Revision confusion
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / services / simple / impl / RestconfImplTest.java
index bec5c7be12ec25c6f6295a294aa13807a21ade40..01aa0f409e15c317ba15b34c9eb7ac727b69f43a 100644 (file)
@@ -7,7 +7,8 @@
  */
 package org.opendaylight.restconf.nb.rfc8040.services.simple.impl;
 
-import org.junit.Assert;
+import static org.junit.Assert.assertEquals;
+
 import org.junit.Test;
 import org.opendaylight.restconf.common.context.NormalizedNodeContext;
 import org.opendaylight.restconf.nb.rfc8040.Rfc8040.IetfYangLibrary;
@@ -28,6 +29,6 @@ public class RestconfImplTest {
         final RestconfImpl restconfImpl = new RestconfImpl(schemaContextHandler);
         final NormalizedNodeContext libraryVersion = restconfImpl.getLibraryVersion();
         final LeafNode<?> value = (LeafNode<?>) libraryVersion.getData();
-        Assert.assertEquals(IetfYangLibrary.REVISION, value.getValue());
+        assertEquals(IetfYangLibrary.REVISION.toString(), value.getValue());
     }
 }