2008 Nissan Maxima - Bad eggs

It doesn’t have to be new, but how can you be sure the replacement isn’t one tossed because it failed?