Exemple #1
0
        public static void Main()
        {
            PotOfTeaInterface potOfTea = new PotOfTeaProxy();

             Tapper tap = new Tapper();
               tap.test("TestProxy: pouring tea", potOfTea.pourTea() , ("Pouring tea"));
            tap.done();
        }
Exemple #2
0
        public static void Main()
        {
            PotOfTeaInterface potOfTea = new PotOfTeaProxy();

            Tapper tap = new Tapper();

            tap.test("TestProxy: pouring tea", potOfTea.pourTea(), ("Pouring tea"));
            tap.done();
        }