void () { Disposable disposable = Disposer.newDisposable(); AsyncTreeModel model = new AsyncTreeModel(new DefaultTreeModel(new DefaultMutableTreeNode()), disposable); try { assert !model.isProcessing() : "created model should not update content"; } finally { EdtTestUtil.runInEdtAndWait(() -> Disposer.dispose(disposable)); } }