void (@NotNull String expectedFile, boolean ignoreTrailingWhitespaces) { assertInitialized(); ApplicationManager.getApplication().invokeAndWait(() -> checkResultByFile(expectedFile, getHostFile(), ignoreTrailingWhitespaces)); }