Slice mushrooms and saute with onions in oil. Thaw spinach and drain well. (Allow 3 to 4 hours for spinach to thaw and drain.) Beat eggs lightly and combine with mushrooms, spinach, artichoke hearts and cheese. Bake covered in buttered 1 1/2 quart casserole at 350 degrees for 45 minutes.