X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=restconf%2Frestconf-nb-rfc8040%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Frestconf%2Fnb%2Frfc8040%2Fservices%2Fsimple%2Fimpl%2FRestconfImplTest.java;h=01aa0f409e15c317ba15b34c9eb7ac727b69f43a;hb=refs%2Fchanges%2F26%2F80226%2F1;hp=bec5c7be12ec25c6f6295a294aa13807a21ade40;hpb=a548847bfcd83c7583d59df3913ba27d54e6651a;p=netconf.git diff --git a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfImplTest.java b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfImplTest.java index bec5c7be12..01aa0f409e 100644 --- a/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfImplTest.java +++ b/restconf/restconf-nb-rfc8040/src/test/java/org/opendaylight/restconf/nb/rfc8040/services/simple/impl/RestconfImplTest.java @@ -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()); } }