Spoon the mushrooms into a small ovenproof dish and make four little holes into which you can drop the eggs. Break an egg into each hollow, spoon on the cream and scatter on the gruyère. It’s important that none of the eggs touch the side of the dish, otherwise they will cook faster than those in the middle.