Split out yang-repo-{api,spi}
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / path / PathExpressionParserTest.java
index 1bdcafff014fc5f3d932dded2df47335ecfc68e5..ceecf8874bb0f94cde4bf58dfc9be8ddc7a6e6b7 100644 (file)
@@ -48,11 +48,12 @@ public class PathExpressionParserTest {
     @Mock
     public StatementSourceReference ref;
 
+    @SuppressWarnings("exports")
     public final PathExpressionParser parser = new PathExpressionParser();
 
     @Before
     public void before() {
-        doReturn(ref).when(ctx).getStatementSourceReference();
+        doReturn(ref).when(ctx).sourceReference();
     }
 
     @Test