if possible, I prefer that you call this out of the stub method. Doing it like this transforms a normally asynchronous flow to a synchronous flow (the real life flow: OptionMenu.show(); the code that's after "show" runs; the user clicks, the method is called; the test flow: OptionMenu show(); the method is called; the code that's after "show" runs.) (hope this makes sense)