// We are making an delta which applies to version 1, however the robot only
// knows about version 0.
ParticipantId bob = ParticipantId.of("bob@exmaple.com");
HashedVersion v2 = HashedVersion.unsigned(2);
WaveletOperation addBob = new AddParticipant(new WaveletOperationContext(ALEX, 0L, 1, v2), bob);
addBob.apply(waveletData);
waveletData.setHashedVersion(v2);
waveletData.setVersion(2);
TransformedWaveletDelta delta = new TransformedWaveletDelta(ALEX, v2,
0L, Collections.singletonList(addBob));