public void searchBeer()
        {
            int      id             = 1;
            string   name           = "Budweiser";
            double   price          = 4.6;
            double   percentAlcohol = 12.6;
            string   originCountry  = "USA";
            string   description    = "Budweiser Bier or Budweiser Bürgerbräu was the name for the beer and the administration of the Bürgerliches Brauhaus Budweis";
            TypeBeer typeBeer       = TypeBeer.BLONDE;

            Beer        myBeer   = new Beer();
            List <Beer> listBeer = myBeer.searchForBeers(id, name, price, percentAlcohol, originCountry, description, typeBeer);

            Assert.IsNotNull(listBeer);
        }
Example #2
0
 /*
  * This method allow user to search beers, all attributes is not necessary they will be choosen by the user.
  * return a list of beers corresponding criterias searched by the user.
  */
 public List <Beer> searchForBeers(int id, string name, double price, double percentAlcohol, string originCountry, string description, TypeBeer typeBeer)
 {
     throw new NotImplementedException();
 }