I am working on managed package, it works fine and everybody is happy. In latest version I've added one trigger that works with ContentNote sObject.
Issue is that when I try to install it to the instance where ContentNotes are disabled I receives error:
entity is not api accessible entity name contentnote
Question: how to check this in test class? It is not required to use this functionality if it is not configured. Who had such experience?