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("CustomMarkup generated error in service execution.", response.isError());
// The xml in new blip should match custom markup.
String actualContent = markupBlip.getContent().toXmlString();
assertTrue("Expected the new blip to contain the custom markup as specified in the " +
"operation. actualcontent: " + actualContent, actualContent.contains(markup));