CaptureRx interview question

How would you test a new function before implementing it?