Exemple #1
0
        public void XBurger()
        {
            var lanche = LancheFactory.XBurger();
            var pedido = new Pedido(lanche);

            pedido.Calcular();
            Assert.Equal(4.50m, pedido.Total);
        }
Exemple #2
0
 public IList <Lanche> ObterLanches()
 {
     return(new List <Lanche>()
     {
         LancheFactory.XBacon(),
         LancheFactory.XBurger(),
         LancheFactory.XEgg(),
         LancheFactory.XEggBacon(),
     });
 }