void () { facade.beginChangeSet(); Change c1 = add(facade, createFile(r, "f1")); facade.beginChangeSet(); Change c2 = add(facade, createFile(r, "f2")); facade.endChangeSet("inner"); facade.endChangeSet("outer"); List<ChangeSet> cc = facade.getChangeListInTests().getChangesInTests(); assertEquals(1, cc.size()); assertEquals("outer", cc.get(0).getName()); assertEquals(ChangeSet.class, cc.get(0).getClass()); assertEquals(array(c1, c2), cc.get(0).getChanges()); }