public void ShouldDisplaySingleIncompleteItemCorrectly()
        {
            var sb   = new StringBuilder();
            var todo = new TodoItem()
            {
                ItemType  = TodoItemType.Single,
                Title     = "Test Item",
                Completed = false
            };
            var item = new SingleTodo(todo, 0);

            item.Display(sb);

            var output = sb.ToString();

            Assert.That(output, Is.EqualTo($"[ ] (0) Test Item\n"));
        }
        public void ShouldDisplaySingleCompleteItemCorrectly()
        {
            var sb   = new StringBuilder();
            var id   = 0;
            var todo = new TodoItem()
            {
                ItemType  = TodoItemType.Single,
                Title     = "Test Item",
                Completed = true
            };
            var item = new SingleTodo(todo, id);

            item.Display(sb);

            var output = sb.ToString();

            Assert.That(output, Is.EqualTo($"[x] ({id}) {todo.Title}\n"));
        }