Exemplo n.º 1
0
        public void BeerResultsContainLabelImages()
        {
            BreweryDBClient.Initialize(applicationKey);
            var beers = new BreweryDBSearch<Beer>("duvel").Search().Result;

            Assert.IsNotNull(beers.First().Labels);
        }
Exemplo n.º 2
0
 public void SearchForBeer()
 {
     BreweryDBClient.Initialize(applicationKey);
     var beers = new BreweryDBSearch<Beer>("duvel").Search().Result;
     
     Assert.IsNotNull(beers);
 }
Exemplo n.º 3
0
        public void BeerResultsContainLabelImages()
        {
            BreweryDBClient.Initialize(applicationKey);
            var beers = new BreweryDBSearch <Beer>("duvel").Search().Result;

            Assert.IsNotNull(beers.First().Labels);
        }
Exemplo n.º 4
0
        public void SearchForBeer()
        {
            BreweryDBClient.Initialize(applicationKey);
            var beers = new BreweryDBSearch <Beer>("duvel").Search().Result;

            Assert.IsNotNull(beers);
        }
Exemplo n.º 5
0
        public async void ForBreweryByBeerName()
        {
            BreweryDBClient.Initialize(Keys.ApplicationKey, "BeerDrinkin");

            var query = new BreweryDBSearch<Brewery>("duvel");
            var results = await query.Search();

            Assert.IsNotNull(results);
        }
Exemplo n.º 6
0
        public async void IncludeSocial()
        {
            BreweryDBClient.Initialize(Keys.ApplicationKey, "BeerDrinkin");

            var query = new BreweryDBSearch<Beer>("duvel")
            {
                IncludeSocialAccounts = true
            };
            var results = await query.Search();

            Assert.IsNotNull(results);
        }