In a large skillet or Dutch oven, melt the butter over medium-high heat until it begins to foam. Add in the prepared mushrooms, minced garlic, ¾ teaspoon salt, and ⅛ teaspoon black pepper. Sauté for approximately 5 to 7 minutes, or until the mushrooms release their liquid and become tender.
Sprinkle the flour evenly over the mushroom mixture. Stir constantly for 1 minute to eliminate any raw flour taste. Gradually whisk in the chicken broth, ensuring to scrape up any caramelized bits from the bottom of the pan. Bring to a boil, whisking continuously.
Lower the heat to medium and pour in the heavy cream. Simmer the mixture for around 5 minutes, or until the sauce thickens to a creamy consistency. Taste and adjust seasoning with extra salt and pepper if needed.
While the sauce simmers, microwave the frozen green beans according to the instructions on the packaging. Alternatively, cook them on HIGH for 4 to 5 minutes, then let rest for 1 minute. Drain thoroughly; using a salad spinner is recommended to remove excess moisture.
Once drained, fold the warm green beans into the mushroom cream sauce, ensuring every piece is evenly coated. Transfer the mixture into the insert of a slow cooker.
Cover and cook on HIGH for 2 hours or on LOW for 4 hours, or until the internal temperature at the center reaches 165°F.
Immediately before serving, scatter the fried onions generously across the surface of the casserole.