Diagnosis typically involves a combination of medical history evaluation, clinical examination, and specific tests such as imaging studies (CT or MRI scans) and tissue biopsies. Culturing the fungus from a tissue sample can also confirm the diagnosis.