void (DeferredIconImpl<?> icon1) { PlatformTestUtil.waitForFuture(FutureKt.asCompletableFuture(icon1.scheduleEvaluation(new JLabel(), 0, 0)), 10_000); PlatformTestUtil.dispatchAllInvocationEventsInIdeEventQueue(); assertTrue(icon1.isDone()); }