public void Setup()
 {
     var fileSystem = FileSystem.Simulated();
     _charFile = fileSystem.Directory(@"C:\The\Folder").File("CharName.ars");
     _charFile.Overwrite(FakeCharData);
     _testSubject = new AppModel(fileSystem);
 }
 private void _EnsureViewModelIsSet(object sender, RoutedEventArgs e)
 {
     if (DataContext == null)
         DataContext = new AppModel(FileSystem.Real());
 }