public bool VerifyAdditionResident() { try { Document doc = Application.DocumentManager.MdiActiveDocument; IReviewManager reviewer = CoreExtensionApplication._current.Container.GetRequiredService <IReviewManager>(); DataService data = DataService.Current; data.PopulateStoreTypes(); int startingItemCount = reviewer.GetUnverified(doc).Count(); TestDocumentStore testDocumentStore = data.GetStore <TestDocumentStore>(doc.Name); TestDrawingObjectManager objectManager = testDocumentStore.GetManager <TestDrawingObjectManager>(); objectManager.Add(TestDrawingObject.CreateActiveObject(Guid.NewGuid())); reviewer.Refresh(doc); int endItemCount = reviewer.GetUnverified(doc).Count(); int difference = (endItemCount - startingItemCount); return(difference == 1); } catch (Exception) { return(false); } }