Diagnosis typically involves laboratory tests such as nucleic acid amplification tests (NAATs), which detect the genetic material of the bacteria. Swabs may be taken from the infected sites—urethra, cervix, rectum, or throat—or a urine sample may be used.