Example #1
0
        public async Task CheckRequestExist()
        {
            //Act
            var requests = await requestProvider.RequestsAsync();

            var request = requests.FirstOrDefault();

            var exist = await requestProvider.GetById(request.Id);

            Assert.NotNull(exist);
            Assert.IsType <Request>(exist);
        }
Example #2
0
 public Task <Request> GetById(string id)
 {
     return(provider.GetById(id));
 }