public void CloseAnnotation_AnnotationWasAddedDynamically_RepositoryNotifiesIndices()
        {
            using (var r = AnnotationRepository.FromString("id", @"<notes version='0'/>"))
            {
                var index = new TestAnnotationIndex();
                r.AddObserver(index, _progress);

                var annotation = new Annotation("question", "foo://blah.org?id=1", @"c:\pretendPath");
                r.AddAnnotation(annotation);

                Assert.AreEqual(0, index.Modification);
                annotation.SetStatus("joe", "closed");

                Assert.AreEqual(1, index.Modification);
            }
        }