public void RazorFileChanged_Removed_RemovesCSHTMLDocument()
        {
            // Arrange
            var filePath       = "/path/to/file.cshtml";
            var projectService = new Mock <RazorProjectService>(MockBehavior.Strict);

            projectService.Setup(service => service.RemoveDocument(filePath)).Verifiable();
            var synchronizer = new RazorFileSynchronizer(LegacyDispatcher, projectService.Object);

            // Act
            synchronizer.RazorFileChanged(filePath, RazorFileChangeKind.Removed);

            // Assert
            projectService.VerifyAll();
        }
        public void RazorFileChanged_Added_AddsRazorDocument()
        {
            // Arrange
            var filePath       = "/path/to/file.razor";
            var projectService = new Mock <RazorProjectService>(MockBehavior.Strict);

            projectService.Setup(service => service.AddDocument(filePath)).Verifiable();
            var synchronizer = new RazorFileSynchronizer(Dispatcher, projectService.Object);

            // Act
            synchronizer.RazorFileChanged(filePath, RazorFileChangeKind.Added);

            // Assert
            projectService.VerifyAll();
        }