DispatchActions { public static void writeAction(@NotNull Runnable run) { final Application app = ApplicationManager.getApplication(); if (app.isDispatchThread() && !app.isWriteAccessAllowed()) { app.runWriteAction(run); } else { run.run(); } }  static void writeAction(@NotNull Runnable run);  }
@Test void writeAction() { }