Migrate YangInstanceIdentifier.EMPTY users
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / java / org / opendaylight / restconf / nb / rfc8040 / rests / services / impl / RestconfDataServiceImplTest.java
index 101213e5e33e583638be09abd7d9d3995ae0ea4a..7d474846ab1cd8475680ec78ba7d78c3dcec74ee 100644 (file)
@@ -231,10 +231,10 @@ public class RestconfDataServiceImplTest {
         doReturn(new MultivaluedHashMap<String, String>()).when(this.uriInfo).getQueryParameters();
         doReturn(immediateFluentFuture(Optional.of(wrapNodeByDataRootContainer(this.buildBaseContConfig))))
                 .when(this.read)
-                .read(LogicalDatastoreType.CONFIGURATION, YangInstanceIdentifier.EMPTY);
+                .read(LogicalDatastoreType.CONFIGURATION, YangInstanceIdentifier.empty());
         doReturn(immediateFluentFuture(Optional.of(wrapNodeByDataRootContainer(this.buildBaseContOperational))))
                 .when(this.read)
-                .read(LogicalDatastoreType.OPERATIONAL, YangInstanceIdentifier.EMPTY);
+                .read(LogicalDatastoreType.OPERATIONAL, YangInstanceIdentifier.empty());
         final Response response = this.dataService.readData(this.uriInfo);
         assertNotNull(response);
         assertEquals(200, response.getStatus());