Propagate EffectiveModelContext to more places
[yangtools.git] / yang / yang-data-impl / src / test / java / org / opendaylight / yangtools / yang / data / impl / leafref / Bug7844Test.java
index e4cb067bcdc3b2f7388804a9415bac9e53eb03a2..9c8ca831f92e7e9a6c3b5be1c673bd828a16d1f9 100644 (file)
@@ -18,7 +18,7 @@ import java.util.Map;
 import org.junit.Test;
 import org.opendaylight.yangtools.yang.common.QName;
 import org.opendaylight.yangtools.yang.common.QNameModule;
-import org.opendaylight.yangtools.yang.model.api.SchemaContext;
+import org.opendaylight.yangtools.yang.model.api.EffectiveModelContext;
 import org.opendaylight.yangtools.yang.test.util.YangParserTestUtils;
 
 public class Bug7844Test {
@@ -28,7 +28,7 @@ public class Bug7844Test {
 
     @Test
     public void test() {
-        final SchemaContext context = YangParserTestUtils.parseYangResourceDirectory("/bug7844");
+        final EffectiveModelContext context = YangParserTestUtils.parseYangResourceDirectory("/bug7844");
         assertNotNull(context);
 
         final LeafRefContext leafRefContext = LeafRefContext.create(context);