1. Disconnect the negative battery cable.
2. Remove the headlight cleaner switch. (See HEADLIGHT CLEANER SWITCH REMOVAL/INSTALLATION)
3. Inspect for continuity between the headlight cleaner switch terminals using an ohmmeter.


Headlight cleaner switch removal/installationMazda 6 Service Manual: Exterior lighting system
...
Mazda 6 Service Manual: Light Bulbs
With LED Headlights
With Halogen Headlights
WARNING
Never touch the glass portion of a halogen bulb with your bare hands and
always wear eye protection when handling or working around the bulbs: When
a halogen bulb breaks, it is dangerous. These bulbs contain pressurized gas. If
one is ...