public void WhenInitializedItWillStoreFileValues()
        {
            var previousFile = new StubIFile();
            var currentFile = new StubIFile();

            var fileChangedEventArgs = new FileChangedEventArgs(previousFile, currentFile);

            Assert.AreEqual(previousFile, fileChangedEventArgs.PreviousFile);
            Assert.AreEqual(currentFile, fileChangedEventArgs.CurrentFile);
        }
 /// <summary>
 ///     Called when the file has been changed.
 /// </summary>
 /// <param name="sender"> The sender. </param>
 /// <param name="e">
 ///     The <see cref="FileChangedEventArgs" /> instance containing the event data.
 /// </param>
 private void OnFileChanged(object sender, FileChangedEventArgs e)
 {
     SyncEditor();
 }