public void LoadString_TaskHasValidId_ReturnsId() { var newTask = new SparkTask { Id = "Correct Task Id" }; newTask.LoadString().ShouldBe("Correct Task Id"); }
public void TaskLoadString_TaskDoesntHaveId_ReturnsNoSuchId() { var noIdTask = new SparkTask(); noIdTask.LoadString().ShouldBe("There's no ID"); }