public void AddListItem_NullItem()
        {
            // Arrange
            var todoListManager = new TodoListManager(_mockConfiguration.Object);

            // Act
            todoListManager.AddListItem(null);

            // Assert
            Assert.AreEqual(0, todoListManager.GetListItems().ToList().Count());
        }
        public void AddListItem_Success()
        {
            // Arrange
            var testListItem = new TodoListItemModel()
            {
                Name        = _fixture.Create <string>(),
                Description = _fixture.Create <string>(),
                Completed   = _fixture.Create <bool>()
            };

            var todoListManager = new TodoListManager(_mockConfiguration.Object);

            // Act
            todoListManager.AddListItem(testListItem);

            // Assert
            var insertedItem = todoListManager.GetListItems().First();

            Assert.IsNotNull(insertedItem);
            Assert.AreEqual(testListItem.Name, insertedItem.Name);
            Assert.AreEqual(testListItem.Description, insertedItem.Description);
            Assert.AreEqual(testListItem.Completed, insertedItem.Completed);
        }