Chop the mushrooms into small bite-sized pieces. Then, put oil in the bottom of a saucepan and sauté the mushrooms in the oil over medium heat.
Sprinkle the salt over the mushrooms and cook until they darken and release their juices.
Add dairy-free milk, garlic powder, paprika, black pepper, and soy sauce (optional) and heat until the soup just barely begins to bubble then reduce the heat to low.
In a separate container, mix the cornstarch and water, stirring until the mixture dissolves completely.
Pour the cornstarch mixture into the hot soup, stirring constantly until it begins to bubble and thicken. Then, turn off the heat.
Place green beans in the bottom of a casserole dish and pour the soup over the beans and mix well.
Sprinkle fried onions over the top of the casserole.
Bake for 35-45 minutes, until it is bubbly and the onions are golden brown. (Bake time will vary depending on the size of the beans or if you used fresh or frozen).
Let it cool for about 10 minutes before serving to set and firm up.
Notes
If you don't want your fried onions to be too brown, sprinkle them on after you bake the casserole for about 25 minutes.
If you need the casserole to cook faster, blanch the beans in boiling water for about 5 minutes, then drain them before adding them to the casserole. This will cut the cooking time by about 15 minutes.
The petite French beans will also cook faster than the large green beans.
You will know when it's done when the casserole is bubbling and you can easily insert a fork into the beans.
If you don't like fried onions or can't find them, you can sprinkle crushed up crackers of your choice on top.
Note: This is a large recipe, as it's typically prepared for large holiday dinners. If you are making this for a side dish for a small family, you will want to cut the recipe in half.