Cook the spaghetti al dente and rinse in cold water. Immediately cut into small pieces and mix with 2 tablespoons of olive oil.
Cut the mozzarella into cubes. Cut the cocktail tomatoes in half, pluck the rocket into small pieces. Finely chop the garlic. Add to the spaghetti with the balsamic vinegar and mix everything, season to taste and sprinkle a few basil leaves on top.