public void testBundleUpgradeSnapshot() throws IOException {
// Need to use OSGi-compliant version number, in bundles
// bnd and other tools generate correct numbers.
final String v = "2.0.7.SNAPSHOT";
final TaskResource [] r = {
new MockBundleResource(SN, v)
};
{
final MockBundleTaskCreator c = new MockBundleTaskCreator();
c.addBundleInfo(SN, v, Bundle.ACTIVE);