Pregnancy test at ER

Lacey Beth
Do doctors/nurses have to test you or just test you for pregnancy when they make you pee in a cup for tests?