A swab of the vagina will be taken to examine the fluid under a microscope. Trichomoniasis can also be detected in the urine of men.