def METHOD_NAME(self, mock_request):
    mock_request.side_effect = _mock_create_session_responses(self) + [
        self.tableau_instance.query_groups_response()
    ]
    group_tuples = get_all_tableau_groups(self.domain)
    self.assertEqual(len(group_tuples), 3)
    self.assertEqual(group_tuples[0].name, 'group1')
    self.assertEqual(group_tuples[2].id, 'zx39n')