void (@NotNull IntentionAction action) { if (skipPreview(action)) { launchAction(action); } else { String text = getIntentionPreviewText(action); assertNotNull(action.getText(), text); launchAction(action); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); assertEquals(action.getText(), getFile().getText(), text); } }