Remove RevisionSourceIdentifier
[yangtools.git] / yang / yang-repo-spi / src / test / java / org / opendaylight / yangtools / yang / model / repo / spi / PotentialSchemaSourceTest.java
index 951a8842ac5fcfcae61d5ad43e1916c65971b140..89a7d1f1478b00b9288265556122c3ed0ce27a25 100644 (file)
@@ -16,7 +16,6 @@ import static org.junit.Assert.assertTrue;
 import org.junit.Before;
 import org.junit.Test;
 import org.junit.runner.RunWith;
-import org.mockito.Mock;
 import org.mockito.junit.MockitoJUnitRunner;
 import org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation;
 import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
@@ -27,8 +26,7 @@ public class PotentialSchemaSourceTest {
 
     }
 
-    @Mock
-    public SourceIdentifier sourceIdentifier;
+    public final SourceIdentifier sourceIdentifier = new SourceIdentifier("foo");
     @SuppressWarnings("exports")
     public PotentialSchemaSource<TestSchemaSourceRepresentation> source;
     @SuppressWarnings("exports")