A digital multimeter is a handy tool for this task. Follow the instructions and connect it to the white wire or brown wires, as indicated. This tool is useful for any type of motor, but not if it has broken wires.