Testing GE Magnetic Lid Switch

How do you test the magnetic lid switch in a GE washer.
Can you check the continuity of the switch?