Exemplo n.º 1
0
        public async Task Get()
        {
            IGenericSerivce genericSerivce = new GenericService();

            var photos = await genericSerivce.GetResponse <List <Photo> >(Settings.Settings.PhotoAPI);

            var albums = await genericSerivce.GetResponse <List <Album> >(Settings.Settings.AlbumAPI);

            Assert.IsTrue(photos.Count > 0);
            Assert.IsTrue(albums.Count > 0);
        }