I'm not sure......

If I took a urine sample for a psychical (pee in cup),. Will it tell me if I was pregnant or not. 
In other words, would it show up if I was pregnant or not?