Preheat oven to 160C. Place tomatoes on a lined baking tray and roast until slightly blackened.
Bring salted water to a boil and cook penne pasta according to packet directions. When halfway through cooking, add green beans to boiling water. When pasta is finished cooking, drain water and set aside.
While pasta is cooking, combine pesto ingredients in a food processor and blend together. Add olive oil until desired consistency is achieved.
Stir pesto through the pasta and beans. Transfer to a serving bowl.
Add lentils, tomatoes and bocconcini.
Sprinkle with extra Grated Parmesan and torn basil leaves. Serve hot.