@Test
public void testSetUserWithoutRoles() {

    String userId = "userId";
    when(userGroupCallback.getGroupsForUser(userId)).thenReturn(Collections.emptyList());
    when(identityProvider.getName()).thenReturn(userId);
    potOwnerTasksPreprocessor.preprocess(dataSetLookup);
    assertEquals("((ENTITY_ID is_null  OR ENTITY_ID != " + userId + ") AND ((ID = " + userId + " AND (ACTUALOWNER =  OR ACTUALOWNER is_null )) OR ACTUALOWNER = " + userId + "))",
            dataSetLookup.getFirstFilterOp().getColumnFilterList().get(0).toString());
}