Press the tofu in a clean kitchen towel or using a tofu press for 20-30 minutes to remove excess water. This step is optional but it gives more taste to the dish.
Cut the tofu into 1-inch cubes.
In a large saucepan over medium-high heat add 1 tbsp of olive and the tofu. Cook for 10 minutes, stirring occasionally so that the tofu is browned on all sides.
Remove the tofu from the saucepan and set it aside.
In the same saucepan over medium-high heat, add the rest of the oil and the onion and green beans. Cook for 7-8 minutes, stirring occasionally.
Add the cherry tomatoes and cook for another 5 minutes.
While the vegetables are cooking, stir the the balsamic vinegar, mustard, and garlic powder, to a small dish and mix well.
Add the tofu and sauce to the pan and mix well to distribute the sauce.
Remove from heat, season with salt and pepper, if needed, and enjoy!