Roast the pine nuts in a pan without fat, being careful not to let them get too dark. Then set the pine nuts aside to cool.
Put the pesto (either bought ready-made or homemade) in a bowl and stir with oil and vinegar. Drain the mozzarella balls and add to the marinade along with the cocktail tomatoes and pine nuts and mix everything well.