Prepare the tomatoes, mushrooms, and garlic.
Boil the spaghetti noodles in boiling water.
Heat olive oil in a pan and sauté the garlic.
Add mushrooms and stir-fry, then add the tomatoes.
Season with salt and pepper.
Add the cooked spaghetti to the pan and mix with the sauce.
Add mozzarella cheese and stir until melted.
Serve on a plate and garnish with basil.