blipData = new BlipData(s(WAVE_ID), s(WAVELET_ID), TEMP_BLIP_ID, NEW_BLIP_CONTENT);
blipData.setBlipId(TEMP_BLIP_ID);
}
public void testContinueThread() throws Exception {
OperationContextImpl context = helper.getContext();
ObservableConversation conversation =
context.openConversation(WAVE_ID, WAVELET_ID, ALEX).getRoot();
// Append a random blip to check that we actually append to the end of this
// thread.
conversation.getRootThread().appendBlip();
// Append to continue the thread of the root blip
String rootBlipId = ConversationUtil.getRootBlipId(conversation);
OperationRequest operation = operationRequest(OperationType.BLIP_CONTINUE_THREAD,
rootBlipId, Parameter.of(ParamsProperty.BLIP_DATA, blipData));
service.execute(operation, context, ALEX);
JsonRpcResponse response = context.getResponse(OPERATION_ID);
assertFalse(response.isError());
ConversationBlip newBlip = checkAndGetNewBlip(context, conversation, response);
Iterator<? extends ObservableConversationBlip> it =