Apple has a secret security facility devoted to stress-testing iPhone components

Future iPhone processors and other chips are subjected to temperature changes from -40C to 110C in order to check their vulnerability to attack.

Source:: Apple Insider