public void NoEventsGeneratedIfDataHasNotChanged() { LibraryItem item = new LibraryItem(_eventFactory, "foo/bar.mp3"); item.Commit(); item.Album = item.Album; item.Artist = item.Artist; item.FilePath = item.FilePath; item.Name = item.Name; Assert.Empty(item.GetUncommittedEvents()); }