Example #1
0
 public void SaveTasksAreLoaded()
 {
     driver.TaskCollection.Add(new Task("new task"));
     driver.Save();
     driver = new Driver(null);
     driver.Load();
     Assert.IsTrue(driver.TaskCollection.Contains("new task"));
 }
Example #2
0
 public void LatestActivitiesAreReloaded()
 {
     driver.FinishActivity("saved", "second");
     driver.Save();
     driver = new Driver(null);
     driver.Load();
     Assert.Contains("saved", driver.HistoryDataProvider.LatestActivities);
 }