After frying an egg, remove egg from pan and place the two pieces for the sandwich bun on the pan to lightly toast the bread. Spread pesto on one piece of the bun and place a slice of cheese on the other piece of the bun. Add egg, fresh sliced tomato and bacon on top of the pesto bun and then top with the sliced cheese and remaining bun.