@Test
public void runReadWithFilterAndAuthentication() throws Exception {
final CountDownLatch latch = new CountDownLatch(1);
HttpProviderFactory factory = mock(HttpProviderFactory.class);
HttpProvider provider = mock(HttpProvider.class);
HeaderAndBody headerAndBody = mock(HeaderAndBody.class);
when(headerAndBody.getBody()).thenReturn("".getBytes());
when(provider.get()).thenReturn(headerAndBody);
when(factory.get(anyObject(), anyObject())).thenReturn(provider);
AuthorizationFields authFields = new AuthorizationFields();
authFields.addQueryParameter("token", "token");
AuthenticationModule urlModule = mock(AuthenticationModule.class);