Tests vary depending on the specific cause. An X-ray of the upper digestive tract, EGD, or other tests may be advised.
Kuipers, E. Acid peptic disease. In: Goldman L, Ausiello D. Cecil Textbook of Medicine. 23rd ed. Philadelphia, Pa: Saunders Elsevier; 2007:chap 141.