Exemplo n.º 1
0
        public void DeadlineCommand_should_parse_task_id()
        {
            var cmd = new DeadlineCommand("1 2017-12-25");

            Assert.AreEqual(new TaskId("1"), cmd.TaskId);
        }
Exemplo n.º 2
0
        public void DeadlineCommand_should_parse_deadline()
        {
            var cmd = new DeadlineCommand("1 2017-12-25");

            Assert.AreEqual(new Deadline(new DateTime(2017, 12, 25)), cmd.Deadline);
        }