void () { myFixture.configureByFiles("src/toSrc/Foo.java", "content/anno/toSrc/annotations.xml"); IntentionAction action = myFixture.findSingleIntention("Insert '@Deprecated'"); assertNotNull(action); myFixture.launchAction(action); myFixture.checkResultByFile("src/toSrc/Foo_after.java"); myFixture.checkResultByFile("content/anno/toSrc/annotations.xml", "content/anno/toSrc/annotations_after.xml", true); }