void () { UIUtil.invokeAndWaitIfNeeded(() -> { try { myProjectFixture.tearDown(); myProjectFixture = null; myFixture.tearDown(); myFixture = null; } catch (Exception e) { throw new RuntimeException(e); } }); }