Beispiel #1
0
        public void Delete_NonExistingObjectPassed_ReturnsNotFound()
        {
            int nonExistingId  = -1;
            var notFoundResult = _controller.DeleteTodo(nonExistingId).Result;

            Assert.IsType <NotFoundResult>(notFoundResult);
        }