Psychiatry

How would diagnosis of Agoraphobia be made?