public async Task EditGetWithNullOrMissingIdReturnsNotFound(int?id) { IActionResult result = await _controller.Edit(id); Assert.That(result, Is.Not.Null); Assert.That(result, Is.TypeOf <NotFoundResult>()); }