Statement (final Statement base, Description description) { return new Statement() { @Override public void evaluate() throws Throwable { getTestCase().setUp(); try { EdtTestUtil.runInEdtAndWait(() -> base.evaluate()); } finally { getTestCase().tearDown(); } } }; }