void (@Nullable CommonCodeStyleSettings.IndentOptions defaultIndentOptions) { configureByFile(getFileNameWithExtension()); if (defaultIndentOptions != null) { setIndentOptions(defaultIndentOptions); } CommonCodeStyleSettings.IndentOptions options = detectIndentOptions(getVFile(), getEditor().getDocument()); Assert.assertTrue("Tab usage not detected", options.USE_TAB_CHARACTER); }