water test on condom?

I see people talking about 'water testing a condom to see if it is broken or not' ? Can somebody explain this please, how do I check if the condom is broken ?
Thanks xxx