예제 #1
0
        public void GetLatestVehicleLocationsTest()
        {
            var route4Me = new Route4MeManagerV5(c_ApiKey);

            var vehicleParams = new VehicleParameters()
            {
                VehicleIDs = lsVehicles.Select(x => x.VehicleId).ToArray()
            };

            var result = route4Me.GetVehicleLocations(vehicleParams, out ResultResponse resultResponse);

            Assert.NotNull(result);
            Assert.IsType <VehicleLocationResponse>(result);
        }