void () { myAnnotationsManager.appendProblems(myElement, createHolder(), MyDomElementsInspection.class); final DomElementsProblemsHolderImpl holder = assertNotEmptyHolder(myAnnotationsManager.getProblemHolder(myElement)); assertEmpty(holder.getAllProblems()); assertEmpty(holder.getAllProblems(new MyDomElementsInspection())); }