public void Test2_Common_IServiceContract_Ok()
        {
            var value = 5;
            var expeced = ExpectedFormation(value);

            var channelFactory = new Blun.ConfigurationManager.ServiceModel.ChannelFactory<Blun.Test.Common.IService1>(@"Test_Common_IService1");
            var service = channelFactory.CreateChannel();
            var result = service.GetData(value);

            Assert.AreEqual(expeced, result);
        }
        public void Test2_Common_IServiceContract_NO_Endpoint()
        {
            var value = 5;
            var expeced = ExpectedFormation(value);
            var thrownException = false;
            string result = null;
            string source = null;

            try
            {
                var channelFactory = new Blun.ConfigurationManager.ServiceModel.ChannelFactory<Blun.Test.Common.IService1>(@"Test_Common_IService1_Fail");
                var service = channelFactory.CreateChannel();
                result = service.GetData(value);
            }
            catch (InvalidOperationException ex)
            {
                thrownException = true;
                source = ex.Source;
            }

            Assert.AreEqual("System.ServiceModel", source);
            Assert.IsNull(result);
            Assert.IsTrue(thrownException);
        }