Toast the pine nuts for about 2 min, clean the basil leaves with a damp cloth (not to lose part of their perfume). (Pour into a marble mortar some grain of salt, add the garlic and start to crush with the wooden pestle, add the leaves of basil, pine nuts and the two grated cheeses, finally mix all with the oil).
Wash and peel the potatoes, cut in thick slices and add them and the green beans in a pot with salted boiling water. Let cook for 10 minutes. Cook the Troccoli pasta in the same water together with the potatoes and beans. Drain the pasta with potatoes and beans and put them in a frying pan, add the pesto, cream, cheese, half amount of the almonds and skip everything for a few minutes. Serve hot.