void () { EmptyProgressIndicator indicator = new EmptyProgressIndicator(); ProgressWrapper wrapper = ProgressWrapper.wrap(indicator); assertNotNull(wrapper); ProgressWrapper wrapper2 = ProgressWrapper.wrap(wrapper); assertNotSame(wrapper2, wrapper); assertSame(wrapper, wrapper2.getOriginalProgressIndicator()); }