Example #1
0
        public async Task CheckAllValidVeicleRequest()
        {
            var veicles = await veicleProvider.VeiclesAsync();

            var veicle = veicles.FirstOrDefault();


            var veicleValid = await veicleProvider.VeicleAssignementsValidByVeicleId(veicle.Id);

            foreach (var v in veicleValid)
            {
                Assert.True(v.IsValid);
            }
        }
 public Task <ICollection <VeicleAssignement> > VeicleAssignementsValidByVeicleId(string id)
 {
     return(veicleProvider.VeicleAssignementsValidByVeicleId(id));
 }