There are different methods to measure current. One method is to use a resistor across a current output and measure the voltage.