doReturn(iiCtx).when(ctx).getInstanceIdentifierContext();
final SchemaNode schemaNode = mock(SchemaNode.class);
doReturn(schemaNode).when(iiCtx).getSchemaNode();
+ doReturn(mock(SchemaPath.class)).when(schemaNode).getPath();
doReturn(QName.create("namespace", "2010-10-10", "localname")).when(schemaNode).getQName();
final DOMMountPoint mount = mock(DOMMountPoint.class);
final SchemaNode schemaNode = mock(SchemaNode.class,
Mockito.withSettings().extraInterfaces(RpcDefinition.class));
doReturn(schemaNode).when(iiCtx).getSchemaNode();
+ doReturn(mock(SchemaPath.class)).when(schemaNode).getPath();
doReturn(QName.create("urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote",
"2014-01-14", "create-notification-stream")).when(schemaNode).getQName();