@Override public void setUp() throws Exception { super.setUp(); invokeInEveryVM(this.setHeapMemoryMonitorTestMode); addExpectedException("above heap critical threshold"); addExpectedException("below heap critical threshold"); }