Remove RevisionSourceIdentifier
[yangtools.git] / parser / yang-parser-impl / src / test / java / org / opendaylight / yangtools / yang / parser / repo / YT1428Test.java
index 25e9a7870bf1dc9936579dfba6605f43b98e6b70..b9500aca0b85335050fa7700ec7c575271b9b60f 100644 (file)
@@ -12,14 +12,14 @@ import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.Assert.assertEquals;
 
 import org.junit.Test;
-import org.opendaylight.yangtools.yang.model.repo.api.RevisionSourceIdentifier;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException;
+import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
 
 public class YT1428Test extends AbstractSchemaRepositoryTest {
     @Test
     public void testDeviateSourceReported() {
         final var cause = assertExecutionException(null, "/yt1428/orig.yang", "/yt1428/deviate.yang").getCause();
         assertThat(cause, instanceOf(SchemaResolutionException.class));
-        assertEquals(RevisionSourceIdentifier.create("deviate"), ((SchemaResolutionException) cause).getFailedSource());
+        assertEquals(new SourceIdentifier("deviate"), ((SchemaResolutionException) cause).getFailedSource());
     }
 }