Unfortunately, checking the solenoid for binding or an open coil isn't that easy. However, I'd suggest that it's not likely that the coil is intermittent, so back there, it's more likely to either be a connection or mechanical issue. Here's how Hyundai recommends access to the solenoid (not fun):
1.Remove the rear seat. (Refer to the Body group - Rear seat).
2.Remove the luggage side trim. (Refer to the internal trim)
3.Open the fuel filler door and disconnect the wiring connector after loosening 2 nuts.
4.Check for continuity between terminal No. 1 and No. 2. If there is no continuity replace the fuel filler door release actuator (A).
Note that what they are calling the "fuel filler door release actuator" is what I'm simply calling the "solenoid".
As for the switch up front, that's no fun, either. They abbreviate this set of instructions, and then you get to dig into door panel removal procedures!:
1.Remove the front door trim panel. (Refer to the Body group - front door)
2.Disconnect the switch connector (4P) from wiring.
3.Check the switch for continuity between the No. 1 and No. 2 terminals.
4.If the continuity is not as specified, replace the switch.