// Confirm alex is not on wave prior to operation.
Set<ParticipantId> participants = conversation.getParticipantIds();
assertFalse("Alex should not be a participant on wavelet prior to operation to add him.",
participants.contains(ALEX));
OperationRequest operation =
new OperationRequest(OperationType.WAVELET_ADD_PARTICIPANT_NEWSYNTAX.method(), OPERATION_ID,
s(WAVE_ID), s(WAVELET_ID), rootBlipId, Parameter.of(ParamsProperty.PARTICIPANT_ID,
ALEX.getAddress()));
service.execute(operation, context, ROBOT);
// Verify Alex is now a participant on the wave.
participants = conversation.getParticipantIds();
assertTrue("Alex should now be a participant on the wavelet.", participants.contains(ALEX));
// Attempt to remove Alex.
OperationRequest operation2 =
operationRequest(OperationType.WAVELET_REMOVE_PARTICIPANT_NEWSYNTAX, OPERATION2_ID,
rootBlipId, Parameter.of(ParamsProperty.PARTICIPANT_ID, ALEX.getAddress()));
service.execute(operation2, context, ROBOT);