You can use a trailer wiring tester or multimeter to check for correct connections and continuity.