Remove EffectiveAugmentationSchema.create()
[yangtools.git] / model / yang-model-util / src / test / java / org / opendaylight / yangtools / yang / model / util / YT1404Test.java
index 63e597fd3ed709c9b4bcf8082593503940b1fb72..a90a4562db64ec3c3647973db1cf0165d4741929 100644 (file)
@@ -42,7 +42,7 @@ public class YT1404Test {
         final var fooAugment = Iterables.getOnlyElement(fooCont.getAvailableAugmentations());
         assertSame(augment, fooAugment);
 
-        final var effectiveAug = EffectiveAugmentationSchema.create(augment, fooCont);
+        final var effectiveAug = new EffectiveAugmentationSchema(augment, fooCont);
         assertEquals(1, effectiveAug.getChildNodes().size());
         assertSame(fooBar, effectiveAug.getDataChildByName(BAR));
     }