Bump upstreams to SNAPSHOTs
[netconf.git] / netconf / mdsal-netconf-connector / src / test / java / org / opendaylight / netconf / mdsal / connector / ops / AbstractNetconfOperationTest.java
index f1bd598fba539ff83be0cff5c7053c29a66ace6b..2e681c8dbb5e228bb9412c9d69cd5d188e3c6ebb 100644 (file)
@@ -91,7 +91,7 @@ public abstract class AbstractNetconfOperationTest {
         final DOMStore operStore = InMemoryDOMDataStoreFactory.create("DOM-OPER", schemaService);
         final DOMStore configStore = InMemoryDOMDataStoreFactory.create("DOM-CFG", schemaService);
 
-        currentSchemaContext = new CurrentSchemaContext(schemaService, sourceIdentifier -> {
+        currentSchemaContext = CurrentSchemaContext.create(schemaService, sourceIdentifier -> {
             final YangTextSchemaSource yangTextSchemaSource =
                 YangTextSchemaSource.delegateForByteSource(sourceIdentifier, ByteSource.wrap("module test".getBytes()));
             return Futures.immediateFuture(yangTextSchemaSource);