Details
Description
Create a case.
Disable the case type for that case under civicrm/admin/options/case_type&group=case_type&reset=1
Visit the manage case screen for that case. It will say
Unable to load configuration file for the referenced case type: ''