Add another alternative SchemaContextUtil.findDataSchemaNode()
[yangtools.git] / yang / yang-model-util / src / test / java / org / opendaylight / yangtools / yang / model / util / SchemaContextUtilTest.java
index 8aa887641e8c950e994d826648fd53be32a57232..b47e541232039def5f55fb3798e7893dbd8bb318 100644 (file)
@@ -131,7 +131,7 @@ public class SchemaContextUtilTest {
 
     @Test(expected = NullPointerException.class)
     public void findDataSchemaNodeIllegalArgumentTest() {
-        SchemaContextUtil.findDataSchemaNode(mock(SchemaContext.class), null);
+        SchemaContextUtil.findDataSchemaNode(mock(SchemaContext.class), (SchemaPath) null);
     }
 
     @Test(expected = NullPointerException.class)