void () { ProgressIndicatorEx indicator = new ProgressIndicatorBase(); indicator.setIndeterminate(true); indicator.pushState(); indicator.setIndeterminate(false); assertFalse(indicator.isIndeterminate()); indicator.popState(); assertTrue(indicator.isIndeterminate()); }