def METHOD_NAME(self):
    create_link("name1", "link1", self.case_run)
    create_link("name2", "link2", self.case_run)
    link_refs = LinkReference.get_from(self.case_run).order_by("pk")
    self.assertEqual("name1", str(link_refs[0]))
    self.assertEqual("link1", link_refs[0].url)
    self.assertEqual("name2", link_refs[1].name)
    self.assertEqual("link2", link_refs[1].url)