public void testReplace() throws Exception {
String replacement = "replacedText";
OperationRequest operation =
operationRequest(OperationType.DOCUMENT_MODIFY, rootBlipId,
Parameter.of(ParamsProperty.MODIFY_ACTION,
new DocumentModifyAction(ModifyHow.REPLACE, Collections.singletonList(replacement),
NO_ANNOTATION_KEY, NO_ELEMENTS, NO_BUNDLED_ANNOTATIONS, false)),
Parameter.of(ParamsProperty.RANGE,
new Range(CONTENT_START_TEXT, CONTENT_START_TEXT + INITIAL_CONTENT.length())));
service.execute(operation, helper.getContext(), ALEX);