### Question:
DeviceReconnectionNotificationAction implements ConnectionListener { public void destroy() { m_netconfConnectionManager.unregisterDeviceConnectionListener(this); } DeviceReconnectionNotificationAction(NotificationService notificationService,
                                                NetconfConnectionManager netconfConnectionManager, AdapterManager adapterManager,
                                                PmaRegistry pmaRegistry); void init(); void destroy(); @Override void deviceConnected(Device device, NetconfClientSession clientSession); @Override void deviceDisConnected(Device device, NetconfClientSession session);  }### Answer:
@Test public void testDestroy() { m_deviceReconnectNotificationAction.destroy(); verify(m_netconfConnectionManager).unregisterDeviceConnectionListener(m_deviceReconnectNotificationAction); }