def METHOD_NAME(self):
    clip = self.clipboard.get(self.test_user_1)
    pars = [
        {"id": random_id(), "md": f"Kappale 1.{i}", "attrs": {"kappale": str(i)}}
        for i in range(0, 1)
    ]
    clip.write(pars)
    doc = DocEntry.create(
        "Kohdedokumentti", UserGroup.get_anonymous_group()
    ).document
    dest_pars = [
        doc.add_paragraph(f"Kohdekappale {i}", attrs={"kkappale": str(i)})
        for i in range(0, 10)
    ]
    ver_before = doc.get_version()
    clip.paste_before(doc, dest_pars[0].get_id())
    self.assertEqual(doc.get_version(), (ver_before[0] + 1, 0))
    new_pars = doc.get_paragraphs()
    self.assertEqual(len(new_pars), 11)
    self.assertEqual(new_pars[0].get_markdown(), pars[0]["md"])
    self.assertEqual(new_pars[1].get_markdown(), dest_pars[0].get_markdown())
    pars = [
        {"id": random_id(), "md": f"Kappale 2.{i}", "attrs": {"kappale": str(i)}}
        for i in range(0, 3)
    ]
    clip.write(pars)
    ver_before = doc.get_version()
    clip.paste_before(doc, new_pars[2].get_id())
    self.assertEqual(doc.get_version(), (ver_before[0] + 3, 0))
    new_new_pars = doc.get_paragraphs()
    self.assertEqual(len(new_new_pars), 14)
    self.assertEqual(new_new_pars[0].get_markdown(), new_pars[0].get_markdown())
    self.assertEqual(new_new_pars[1].get_markdown(), new_pars[1].get_markdown())
    self.assertEqual(new_new_pars[2].get_markdown(), pars[0]["md"])
    self.assertEqual(new_new_pars[3].get_markdown(), pars[1]["md"])
    self.assertEqual(new_new_pars[4].get_markdown(), pars[2]["md"])
    self.assertEqual(new_new_pars[5].get_markdown(), new_pars[2].get_markdown())
    ver_before = doc.get_version()
    clip.paste_before(doc, None)
    self.assertEqual(doc.get_version(), (ver_before[0] + 3, 0))
    final_pars = doc.get_paragraphs()
    self.assertEqual(len(final_pars), 17)
    self.assertEqual(final_pars[13].get_markdown(), new_new_pars[13].get_markdown())
    self.assertEqual(final_pars[14].get_markdown(), pars[0]["md"])
    self.assertEqual(final_pars[15].get_markdown(), pars[1]["md"])
    self.assertEqual(final_pars[16].get_markdown(), pars[2]["md"])