@Test
public void testQueryByGroupBusinessAdmin() {

    dataSetLookup = spy(new DataSetLookup());
    String role1 = "admins";
    String role2 = "role2";
    String userId = "userId";
    when(userGroupCallback.getGroupsForUser(userId)).thenReturn(Arrays.asList(role1,
                                                                              role2));
    when(identityProvider.getName()).thenReturn(userId);
    preprocessor.preprocess(dataSetLookup);
    verifyNoMoreInteractions(dataSetLookup);
    assertNull(dataSetLookup.getFirstFilterOp());
}