public async Task GetVehicle_CanValidateInput() { IActionResult actual = await _controller.GetVehicleAsync(122); Assert.IsInstanceOf <NotFoundObjectResult>(actual); Assert.AreEqual(122, (int)((NotFoundObjectResult)actual).Value); }