public void StartAndStop()
        {
            Dancer dancer = new TapDancer();
            Chainsaw chainsaw = new Chainsaw();

            StartAndStopper test = new StartAndStopper();
            test.StartAndStopp(dancer);
            test.StartAndStopp(chainsaw);
        }
Example #2
0
        public void StartAndStop()
        {
            Dancer   dancer   = new TapDancer();
            ChainSaw chainsaw = new ChainSaw();

            StartAndStopper test = new StartAndStopper();

            test.StartAndStop(dancer);
            test.StartAndStop(chainsaw);
        }
        public void ControllablesStopAndStart()
        {
            Dancer dancer = new TapDancer();

            Chainsaw chainsaw = new Chainsaw();

            StartAndStopper test = new StartAndStopper();

            test.StartAndStop(dancer);
            test.StartAndStop(chainsaw);
        }