public void ReferenceFileChangedShouldTriggerEvent() { var fileSystem = new FileSystem(); var scheduler = new TestScheduler(); var solution = Solution.Load(TestDataGenerator.SolutionPath, TestDataGenerator.Get, fileSystem, scheduler); var solutionChangedEventArgs = SolutionChangedEventArgs.Empty; solution.Changed += (sender, args) => solutionChangedEventArgs = args; fileSystem.Change(@"x:\Test\packages\Fixie.dll"); scheduler.AdvanceBy(1.Seconds()); solutionChangedEventArgs.ChangedProjects.Count.ShouldBe(1); solutionChangedEventArgs.ChangedProjects.ShouldContain(TestDataGenerator.FooTestsProjectPath); }