void () { PsiFile file = myFixture.configureByText("MyIcons.java", """ package icons; /** * NOTE THIS FILE IS AUTO-GENERATED * DO NOT EDIT IT BY HAND, run build/scripts/icons.gant instead */ public class RubyIcons {}"""); assertTrue(new IconsGeneratedSourcesFilter().isGeneratedSource(file.getVirtualFile(), myFixture.getProject())); }