Add the green beans to a large pot of well-salted boiling water and cook for 3-4 minutes.
Drain and rinse with cold water to stop the cooking and to retain the bright green color. Set aside.
Heat the butter or olive oil in a large skillet over medium heat. Add the mushrooms and let them cook (without stirring) for 3-4 minutes; stir and add the shallots to the skillet.
Cook the shallots and mushrooms for 2 minutes before adding the minced garlic and green beans.
Cook, stirring constantly, for 1 minute or until the green beans are nice and hot. Season with sea salt and pepper, to taste. Serve and enjoy.