They pull out each injector and test it on a machine/check it's numbers to see if it's from a known bad batch. If it's a shotty one, it gets replaced, if not it goes back in.
I made nice with the lead tech at my dealership and he just replaced them all for me when I got my HPFP recall done last month