Through visual inspection, testing, and quality control procedures. Finished cans can additionally be leak tested, which detects leaks and integrity failures before products reach customers.