Bundle bundleVer01 = createDummyBundle(12345L, "bundleVer01", headers());
expect(bundleManager.getDataFile(EasyMock.<String>anyObject())).andReturn(dataFile).anyTimes();
expect(bundleManager.installBundleIfNeeded(bundleVer01Uri, 0, null)).andReturn(new BundleInstallerResult(bundleVer01, true));
expect(bundleManager.installBundleIfNeeded(bundleVer01Uri, 0, null)).andReturn(new BundleInstallerResult(bundleVer01, false));
ignoreRefreshes(bundleManager);
bundleManager.uninstallById(Collections.EMPTY_SET);
EasyMock.expectLastCall();
bundleManager.uninstallById(setOf(12345L));
EasyMock.expectLastCall();
replay(bundleManager);