Accepted answer
Concretely, batch testing establishes what can be claimed about the lot as a whole, and the sample size determines how much you can actually claim.
Published segregation failures show that even modern automated processes sometimes produce lots with measurable vial-to-vial variation.
The part that matters: stratified sampling — testing one vial from the top, one from the middle, and one from the bottom of a shipment — is cheap insurance against segregation.
Sampling plans for pharmaceutical manufacturing are defined in ISO 2859 and ANSI Z1.4, and they are based on statistical sampling theory.
The caveat is that sampling is a trade-off between cost and confidence, and neither test nor assumption is cost-free.
The practical summary: a lot number without a sampling statement is a lot number without meaning.