- deviceFacade.onDeviceConnected(schemaContext, netconfSessionPreferences, deviceRpc);
-
- verify(mountInstance, times(1)).onTopologyDeviceConnected(eq(schemaContext), any(DOMDataBroker.class), eq(deviceRpc), any(NetconfDeviceNotificationService.class));
- verify(netconfDeviceTopologyAdapter, times(1)).updateDeviceData(true, netconfSessionPreferences.getNetconfDeviceCapabilities());
+ deviceFacade.onDeviceConnected(new EmptyMountPointContext(schemaContext), netconfSessionPreferences, deviceRpc,
+ null);
+
+ verify(mountInstance, times(1)).onTopologyDeviceConnected(eq(schemaContext),
+ any(DOMDataBroker.class), eq(deviceRpc), any(NetconfDeviceNotificationService.class),
+ isNull());
+ verify(netconfDeviceTopologyAdapter,
+ times(1)).updateDeviceData(true, netconfSessionPreferences.getNetconfDeviceCapabilities());