my mate drank 3-4 litres of cranberry juice the night before his drug test.

When it came to pissing he pissed into the toilet for a bit then in the middle filled the cup, which seemed to work for him as he never got chucked out of school, but I'm not sure if it's fool proof.