Look at the plug - does it appear to have locations for three connectors (it should) - hold the plug so the third, empty slot is on top and the wires are towards you.
The wire to the left is the L or lamp terminal
The wire to the right is the IG or ignition terminal
The empty space is the D or dummy terminal.
Connect a battery positive to the output lug (via an ampere meter), connect battery negative to the alternator frame,connect the lamp between IG & L, and connect IG to the battery positive (it's usually connected to the ignition circuit) assuming the alternator is being turned, by an engine or other test source, if the alternator is working, the lamp should go out and the ampere meter should show a charge current.