Infections

How do gynecologists test for infections on virgins? Would i have to have her examine me or just pee in a cup?