Example #1
0
        public void TemplateMethod_test()
        {
            SourDough sourDoughtBread = new SourDough();
            string    a = sourDoughtBread.Make();

            Assert.AreEqual(" Gathering Ingredients for sour dough  Baking the sour dough Slicing the SourDough bread!", a);
        }
Example #2
0
        static void Main(string[] args)
        {
            var twelveGrain = new TwelveGrain();

            twelveGrain.Make();
            var sourDough = new SourDough();

            sourDough.Make();
            var wholeWheat = new WholeWheat();

            wholeWheat.Make();
        }