Will they be looking at him peeing or just holding the cup? Could just take a small beaker of clean piss, tape it to his dick (maybe put a hand warmer on it to keep it warm) and just empty it into the cup, as long as he practiced manuvering beforehand I bet he could pull it off this way unless they were peeking at his piece.