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")); }
public void LatestActivitiesAreReloaded() { driver.FinishActivity("saved", "second"); driver.Save(); driver = new Driver(null); driver.Load(); Assert.Contains("saved", driver.HistoryDataProvider.LatestActivities); }