@Test
public void testSetUserWithoutRoles() {

    String userId = "userId";
    when(userGroupCallback.getGroupsForUser(userId)).thenReturn(Collections.emptyList());
    when(identityProvider.getName()).thenReturn(userId);
    userAndGroupsTasksPreprocessor.preprocess(dataSetLookup);
    assertEquals("(POTOWNER in " + userId + ")",
                 dataSetLookup.getFirstFilterOp().getColumnFilterList().get(0).toString());
}