BUG-981: remove deprecated elements
[yangtools.git] / integration-test / yang-runtime-tests / src / test / java / org / opendaylight / yangtools / it / yang / runtime / tests / Bug466EmptyAugmentationCodecs.java
index d364a70f1c552f7be7fd596d78762528fa40faa1..31890256c009262e472217ba2b7ba8b8001974d8 100644 (file)
@@ -40,9 +40,7 @@ public class Bug466EmptyAugmentationCodecs {
         assertNotNull(schemaContext);
         assertTrue(schemaContext.isPresent());
 
-        mappingService = new RuntimeGeneratedMappingServiceImpl(moduleInfoContext);
-        mappingService.setPool(ClassPool.getDefault());
-        mappingService.init();
+        mappingService = new RuntimeGeneratedMappingServiceImpl(ClassPool.getDefault(), moduleInfoContext);
         mappingService.onGlobalContextUpdated(schemaContext.get());
 
     }