@Test
public void testDirectConnectionForNotNetconfDevice() throws NetconfClientDispatcherException {

    List<Device> devices = new ArrayList<>();
    Device device = createDirectDevice("4");
    device.getDeviceManagement().setNetconf(false);
    devices.add(device);
    when(m_deviceDao.findAllDevices()).thenReturn(devices);
    m_cm.auditConnections();
    ArgumentCaptor<NetconfClientConfiguration> captor = ArgumentCaptor.forClass(NetconfClientConfiguration.class);
    verify(m_dispatcher, never()).createClient(captor.capture());
}