Preheat oven to 350 degree F. Lightly coat a 2-quart rectangular baking dish with cooking spray; set aside.
In a large skillet cook mushrooms and onion in hot olive oil until tender; set aside.
In a large bowl beat together the cottage cheese, eggs, and flour. Stir in feta cheese, artichokes, mushroom mixture and Parmesan cheese. Pour mixture into the prepared dish.
Bake about 35 minutes or until a knife inserted near the center comes out clean. Top with tomato wedges, if desired. Makes 8 servings.