예제 #1
0
        //[TestMethod]
        public void FirstTest()
        {
            Iformatter chosenFormatter = new FormatterImplementationsV1();
            var _component = new component<Iadapter>(chosenFormatter);
            Iadapter ada = _component.passAdapter();

            //Assert.IsInstanceOfType(ada, typeof(adapterImplementationV2));
        }
예제 #2
0
        public void Run()
        {
            Iformatter chosenFormatter= new FormatterImplementationsV1();
            var _component = new component<Iadapter>(chosenFormatter);

            Iadapter ada = _component.passAdapter();

            ada.connect();
            ada.disconnect();
        }