public void Details_NoId() { var result = controller.Details(); Assert.IsInstanceOfType(result, typeof(HttpNotFoundResult)); }
public void Details_NoId() { var result = _controller.Details(); result.Should().BeOfType <NotFoundObjectResult>(); }