Brown the mushrooms in the oil over high heat until they colour and their liquid dries, add the garlic and set aside.