public async Task VehicleExistsAsync_WithVehicleIdExists_ReturnTrue() { // Arrange var vehicleId = 1; vehiclesRepository.GetVehicleByVehicleIdAsync(Arg.Any <int>()).Returns(Task.FromResult(new Vehicle())); // Act var response = await vehiclesService.VehicleExistsAsync(vehicleId); // Assert Assert.True(response); }