void () { CommonCodeStyleSettings common = mySettings.getCommonSettings(JavaLanguage.INSTANCE); CommonCodeStyleSettings.IndentOptions indentOptions = common.getIndentOptions(); assert indentOptions != null; indentOptions.USE_TAB_CHARACTER = true; indentOptions.TAB_SIZE = 8; indentOptions.INDENT_SIZE = 4; indentOptions.CONTINUATION_INDENT_SIZE = 8; myFixture.configureByText(JavaFileType.INSTANCE, myText); PsiFile file = myFixture.getFile(); CommonCodeStyleSettings.IndentOptions options = mySettings.getIndentOptionsByFile(file); assertThat(options.INDENT_SIZE).isEqualTo(4); assertThat(indentOptions.CONTINUATION_INDENT_SIZE).isEqualTo(8); }