For testing we use a sinusoidal voltage source with inner resistance. We measure voltage and current and see a phase shift of 90° between them.