Testing may be used to determine ifM. hominis,U. urealyticum, or Mycoplasma genitalium is the cause of an infection of the genital or urinary tract. This is done by testing a urine sample. Other types of Mycoplasma testing, such as forM. pneumoniae, is more complex. ...