First make the pesto by processing the tomato and garlic in a blender or food processor until smooth. Add the rest of ingredients, season and blend again until the sauce is smooth and creamy.
Blanch the beans in boiling salted water for 2 minutes, or until just tender. Drain.
Meanwhile, heat the oil in a frying pan over a gentle heat and stir-fry the sha