コード例 #1
0
        public void UpdateComboSide_NewSide_ShouldReplaceOldSide()
        {
            var combo        = new ChickenLittleCombo(new MashedPotato(), new Brownie());
            var comboService = new ComboService();

            comboService.UpdateComboSide(combo, new MacAndCheese());

            Assert.IsInstanceOfType(combo.Side, typeof(MacAndCheese));
        }