public void HasCorrectCaloriesAfterSettingToLarge()
        {
            Tyrannotea s = new Tyrannotea();

            s.Size = Size.Large;
            s.MakeSweet();
            s.MakeUnSweet();
            Assert.Equal <uint>(32, s.Calories);
        }
        public void HasCorrectCaloriesAfterSettingToMedium()
        {
            Tyrannotea s = new Tyrannotea();

            s.Size = Size.Medium;
            s.MakeSweet();
            s.MakeUnSweet();
            Assert.Equal <uint>(16, s.Calories);
        }
        /// <summary>
        /// Acts as changing button depending on if the object is soda, java, or tea
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ChangingButton_Click(object sender, RoutedEventArgs e)
        {
            if (DataContext is Order order)
            {
                if (CollectionViewSource.GetDefaultView(order.Items).CurrentItem is DinoDiner.Menu.CretaceousCombo Combo)
                {
                    if (Combo.Drink is DinoDiner.Menu.JurassicJava java)
                    {
                        JurassicJava j = new JurassicJava();
                        if (java.Decaf)
                        {
                            j.MakeUndecaf();
                            j.Size      = Combo.Size;
                            Combo.Drink = j;
                        }
                        else
                        {
                            j.MakeDecaf();
                            j.Size      = Combo.Size;
                            Combo.Drink = j;
                        }
                    }
                    else if (Combo.Drink is DinoDiner.Menu.Sodasaurus soda)
                    {
                        this.NavigationService.Navigate(new ComboDrinkSideScreen.FlavorSelection());
                    }
                    else if (Combo.Drink is DinoDiner.Menu.Tyrannotea tea)
                    {
                        Tyrannotea t = new Tyrannotea();
                        if (tea.Sweet)
                        {
                            t.MakeUnSweet();
                            t.Size      = Combo.Size;
                            Combo.Drink = t;
                        }
                        else
                        {
                            t.MakeSweet();
                            t.Size      = Combo.Size;
                            Combo.Drink = t;
                        }
                    }
                }

                CollectionViewSource.GetDefaultView(order.Items).Refresh();
            }
        }