ObservableConversation conversation =
context.openConversation(WAVE_ID, WAVELET_ID, ALEX).getRoot();
// Append the text markup to the newly created blip.
DocInitialization blipInitContent = new DocInitializationBuilder().build();
ConversationBlip markupBlip = conversation.getRootThread().appendBlip(blipInitContent);
OperationRequest operation = operationRequest(OperationType.DOCUMENT_APPEND_MARKUP,
markupBlip.getId(), Parameter.of(ParamsProperty.CONTENT, markup));
service.execute(operation, context, ALEX);
JsonRpcResponse response = context.getResponse(OPERATION_ID);
assertFalse("LineMarkup generated error in service execution.", response.isError());
// The output should now include the default <line/> element.
String lineContent = markupBlip.getContent().toXmlString();
assertTrue("Expected the blip to append the default wave <line/> element. " +
"actual content: " + lineContent, lineContent.contains("<line/>"+markup));
}