function mockaddSVGElementsFromJson (json) {
    const elem = mockCreateSVGElement(json)
    svgroot.append(elem)
    mockaddSVGElementsFromJsonCallCount++
    return elem
  }
Mock of {@link module:utilities.EditorContext#addSVGElementsFromJson}.
@param {module:utilities.SVGElementJSON} json
@returns {SVGElement}