public void UpdateLSPFileInfo_UnknownFile_Noops()
        {
            // Arrange
            var provider = new DefaultRazorDynamicFileInfoProvider(DocumentServiceFactory);

            provider.Updated += (sender, args) => throw new XunitException("Should not have been called.");

            // Act & Assert
            provider.UpdateLSPFileInfo(new Uri("C:/this/does/not/exist.razor"), Mock.Of <DynamicDocumentContainer>());
        }
        public void UpdateLSPFileInfo_UnknownFile_Noops()
        {
            // Arrange
            var provider = new DefaultRazorDynamicFileInfoProvider(DocumentServiceFactory, EditorFeatureDetector);

            provider.Updated += (sender, args) => throw new XunitException("Should not have been called.");

            // Act & Assert
            var documentContainer = new Mock <DynamicDocumentContainer>(MockBehavior.Strict);

            documentContainer.SetupSet(c => c.SupportsDiagnostics = true).Verifiable();
            provider.UpdateLSPFileInfo(new Uri("C:/this/does/not/exist.razor"), documentContainer.Object);
        }