public void AddOrUpdate_Updates()
        {
            // Arrange
            var expectedUri = new Uri("C:/path/to/file.razor");
            var uriProvider = new DefaultFileUriProvider(Mock.Of <ITextDocumentFactoryService>());

            uriProvider.AddOrUpdate(TextBuffer, new Uri("C:/original/uri.razor"));

            // Act
            uriProvider.AddOrUpdate(TextBuffer, expectedUri);

            // Assert
            Assert.True(uriProvider.TryGet(TextBuffer, out var uri));
            Assert.Same(expectedUri, uri);
        }
        public void TryGet_Exists_ReturnsTrue()
        {
            // Arrange
            var expectedUri = new Uri("C:/path/to/file.razor");
            var uriProvider = new DefaultFileUriProvider(Mock.Of <ITextDocumentFactoryService>());

            uriProvider.AddOrUpdate(TextBuffer, expectedUri);

            // Act
            var result = uriProvider.TryGet(TextBuffer, out var uri);

            // Assert
            Assert.True(result);
            Assert.Same(expectedUri, uri);
        }