    @Test
    @Ignore
    public void testExecute() {

        List<Endpoint> endpoints = new ArrayList<>();
        SearchRequest searchRequest = mock(SearchRequest.class);
        Endpoint endpoint1 = mock(Endpoint.class);
        Endpoint endpoint2 = mock(Endpoint.class);
        endpoints.add(endpoint1);
        endpoints.add(endpoint2);
        LdapConnectionResult ldapConnectionResult = mock(LdapConnectionResult.class);
        LdapConnection ldapConnection = mock(LdapNetworkConnection.class);
        ldapConnectionResult.setConnection(ldapConnection);
        RoundtripResult roundtripResult = mock(RoundtripResult.class);

        when(queryRequest.getEndpoints()).thenReturn(endpoints);

        doReturn(driver).when(queryRequestNonPagedExecutor).driverGetInstance();
        doReturn(roundtripResult).when(queryRequestNonPagedExecutor).collectData(ldapConnection, searchRequest);
        when(driver.connect(any(Endpoint.class))).thenReturn(ldapConnectionResult);
        when(ldapConnectionResult.getConnection()).thenReturn(ldapConnection);
        when(ldapConnectionResult.connectionSucceeded()).thenReturn(true);

        queryRequestNonPagedExecutor.execute();

        verify(endpoint1, times(2)).getBaseSearchPath();
        verify(endpoint2, times(2)).getBaseSearchPath();
        verify(driver, times(endpoints.size())).connect(any(Endpoint.class));
        verify(queryRequestNonPagedExecutor, times(endpoints.size())).collectData(any(LdapNetworkConnection.class), any(SearchRequest.class));
        verify(endpoint1, times(1)).setDestinationType(any());
    }