Cook the pasta according to the instructions on the packet. Clean the beans and cook in salted water until they are firm to the bite.
Sauté the onion and garlic in oil over a medium heat until soft. Add the mushrooms and stir-fry for 3 minutes. Deglaze with wine, cream and stock and bring to the boil. Simmer over low heat for 10 minutes.
Add the beans, pine nuts, tomatoes, gravy and heat evenly while stirring. Season to taste with salt and pepper. Mix in the pasta and basil leaves.
Arrange on plates and serve garnished with parmesan and basil.