예제 #1
0
        public async Task GetVehicle_CanValidateInput()
        {
            IActionResult actual = await _controller.GetVehicleAsync(122);

            Assert.IsInstanceOf <NotFoundObjectResult>(actual);
            Assert.AreEqual(122, (int)((NotFoundObjectResult)actual).Value);
        }