I'm getting spark. Fuel pump was replaced by previous owner.

How would I check the pump, Persuming I'd have to take it out the tank nd just test the voltage running to it??