public void When_given_a_new_title_then_change_title_of_todolist()
        {
            var manager  = new TodoListManager(notificationManager: null, apiManager: null);
            var todoList = new TodoList("current title");

            // Act
            manager.ChangeTitle("new title", todoList);

            // Assert
            Assert.Equal("new title", todoList.Title);
        }
        public void When_given_an_empty_title_then_throw_fluent()
        {
            var manager  = new TodoListManager(notificationManager: null, apiManager: null);
            var todoList = new TodoList("current title");

            // Act
            var isThrown = false;

            try
            {
                manager.ChangeTitle(string.Empty, todoList);
            }
            catch (ArgumentException)
            {
                isThrown = true;
            }

            // Assert
            Assert.True(isThrown);
        }