void () { PsiFile file = myFixture.configureByText("a.java", "class Foo {}"); CodeStyle.dropTemporarySettings(file.getProject()); CodeStyleSettings settings = CodeStyle.getSettings(file); assertSame(myTestSettings, settings); }