public void ShouldSupportAddANewTaskWithDescription() { var validateTaskTitle = new VerifierNameAndDescription("Go to work", "something to do"); var taskDescription = validateTaskTitle.VerifyDescription(); Assert.AreEqual("something to do", taskDescription); }
public void ShouldSupportAddANewTaskWithoutDescription() { var validateTaskTitle = new VerifierNameAndDescription("Go to work", null); var taskDescription = validateTaskTitle.VerifyDescription(); Assert.AreEqual(null, taskDescription); }
public void ShouldSupportAddANewTaskWithoutDescription() { var validateTaskTitle = new VerifierNameAndDescription("Go to work", null); var taskDescription = validateTaskTitle.VerifyDescription(); Assert.AreEqual(null, taskDescription); }
public void ShouldSupportAddANewTaskWithDescription() { var validateTaskTitle = new VerifierNameAndDescription("Go to work", "something to do"); var taskDescription = validateTaskTitle.VerifyDescription(); Assert.AreEqual("something to do", taskDescription); }