Hamas is expected to do well in the election .