void () { assert !ApplicationManager.getApplication().isReadAccessAllowed(); CountDownLatch waiter = new CountDownLatch(1); invokeAfterUpdate(false, waiter::countDown); awaitWithCheckCanceled(waiter); }