Preheat oven to 375° F.
Spread green beans evenly in a 9x13 inch baking pan.
Heat a large skillet over medium low heat. Add the butter and melt, then add the mushrooms, salt and pepper. Sauté for 4-5 minutes, stirring regularly.
Stir in the flour and continue cooking, stirring regularly, for 1-2 minutes.
Add the cream; cook and stir just until small bubbles form.
Stir in the cheese and continue stirring for 1-2 minutes until cheese is melted and sauce starts to thicken and bubble.
Pour the sauce over the green beans in the pan. Stir until beans are evenly coated. Top with French fried onions.
Bake, uncovered, for 45 minutes. Check for doneness. If beans are still too crisp, cover loosely with foil and bake for an additional 15 minutes.