@BeforeClass public static void setUpClass() throws Exception { GWTMockUtilities.disarm(); final Console console = new TestConsole(); Whitebox.setInternalState(VConsole.class, "impl", console); final SchedulerImpl scheduler = new TestSchedulerImpl(); Whitebox.setInternalState(SchedulerImpl.class, "INSTANCE", scheduler); }
protected IdempotentFinally() { this(SchedulerImpl.get()); }