How to run 12v radio off AC current

I used a battery charger in the past when I'm testing radios before install.