예제 #1
0
        public async Task EditGetWithNullOrMissingIdReturnsNotFound(int?id)
        {
            IActionResult result = await _controller.Edit(id);

            Assert.That(result, Is.Not.Null);
            Assert.That(result, Is.TypeOf <NotFoundResult>());
        }