assertEquals(Collections.singleton(fred), blip.getContributors());
}
public void testReverseRestoresContent() throws OperationException {
BlipContentOperation op = new BlipContentOperation(context, docOp);
BlipData blip = waveletData.createDocument("root", fred, Collections.<ParticipantId>emptyList(),
EmptyDocument.EMPTY_DOCUMENT, 0L, 0L);
List<? extends BlipOperation> reverseOps = op.applyAndReturnReverse(blip);
for (BlipOperation reverse : reverseOps) {
reverse.apply(blip);
}
ExtraAsserts.checkContent("", blip);
assertEquals(noParticipants, blip.getContributors());
}