Can you pee in a cup and save it

Hailey • Mommy to be feb 2019❤️

It is 4:00 now and I have to pee so bad, but I want to test and can't get a test until around 6 could I pee and save the pee in a cup or will it not work like that😅