Leaking fluid

What do they do to check if you are leaking amniotic fluid?