Mix pasta sauce with pesto and cream. Stir ricotta until smooth, season with salt and pepper. Coarsely grate parmesan and stir 25 g into the ricotta. Wash the basil, shake dry, pluck the leaves from the stalks and put something aside for garnishing
Put in a cool place for about 2 hours. Whip the cream until stiff. Gradually add the sugar. Remove the cake from the edge of the springform pan. Dust the surface evenly with cocoa. Pour the cream into a piping bag with a star-shaped spout and decorate the cake with cream tuffs.
Sprinkle casserole with the remaining Parmesan cheese and bake in a preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: see manufacturer) for approx. 25 minutes. Remove from the oven and garnish with the basil set aside