public void ShouldSuportSpecifiedAFileNameForSaveTask() { var validateFileName = new VerifierFileAndStatus("FileNameTest.xml"); var fileName = validateFileName.VerifyFileName(); Assert.AreEqual("FileNameTest.xml", fileName); }
public void ShouldSupportUpdateATaskWithDefaultStatus() { var validateStatus = new VerifierFileAndStatus(null, null); var taskStatus = validateStatus.VerifyStatus(); Assert.AreEqual("Done", taskStatus); }
public void ShouldSupportUpdateATaskWithSpecifiedStatus() { var validateStatus = new VerifierFileAndStatus(null, "InProgress"); var taskStatus = validateStatus.VerifyStatus(); Assert.AreEqual("InProgress", taskStatus); }
public void ShouldHaveADefaultFileNameForSaveTask() { var validateFileName = new VerifierFileAndStatus(null); var fileName = validateFileName.VerifyFileName(); Assert.AreEqual("Tasks.xml", fileName); }