In testDisconnectDeviceCommand case, there should not appear
connectDevice, but disconnectDevice.
Change-Id: Ie4e980c1400612fb33300e9a9ccbff57e85c0067
Signed-off-by: Li guosheng <li.guosheng6@zte.com.cn>
new NetconfDisconnectDeviceCommand(netconfCommands);
netconfDisconnectDeviceCommand.doExecute();
- verify(netconfCommands, times(0)).connectDevice(any(), any());
+ verify(netconfCommands, times(0)).disconnectDevice(any(), any());
netconfDisconnectDeviceCommand = new NetconfDisconnectDeviceCommand(netconfCommands, "deviceId", null, null);