def METHOD_NAME(self):
    w = Scheme()
    a1 = SchemeTextAnnotation((0, 0, 1, 1), "a1")
    a2 = SchemeTextAnnotation((0, 0, 1, 1), "a2")
    a3 = SchemeTextAnnotation((0, 0, 1, 1), "a3")
    spy = QSignalSpy(w.annotation_inserted)
    w.insert_annotation(0, a1)
    w.insert_annotation(1, a2)
    w.insert_annotation(0, a3)
    self.assertSequenceEqual(w.annotations, [a3, a1, a2])
    self.assertSequenceEqual(list(spy), [[0, a1], [1, a2], [0, a3]])