Пример #1
0
        public void Test_DeleteTodo()
        {
            var id       = 6;
            var expected = db.Todoes.Where(x => x.TodoId == id).FirstOrDefault();
            var data     = new EfData();

            var actual = data.DeleteTodo(expected, id);

            Assert.True(actual);
        }