public void CanBuildChannelFactory ()
		{
			TransactionFlowBindingElement be =
				new TransactionFlowBindingElement ();
			BindingContext ctx = new BindingContext (
				new CustomBinding (),
				new BindingParameterCollection ());
			Assert.IsTrue (be.CanBuildChannelFactory<IRequestChannel> (ctx), "#1");
			Assert.IsTrue (be.CanBuildChannelFactory<IOutputChannel> (ctx), "#2");
			Assert.IsTrue (be.CanBuildChannelFactory<IRequestSessionChannel> (ctx), "#3");
			Assert.IsTrue (be.CanBuildChannelFactory<IOutputSessionChannel> (ctx), "#4");
		}
        public void CanBuildChannelFactory()
        {
            TransactionFlowBindingElement be =
                new TransactionFlowBindingElement();
            BindingContext ctx = new BindingContext(
                new CustomBinding(),
                new BindingParameterCollection());

            Assert.IsTrue(be.CanBuildChannelFactory <IRequestChannel> (ctx), "#1");
            Assert.IsTrue(be.CanBuildChannelFactory <IOutputChannel> (ctx), "#2");
            Assert.IsTrue(be.CanBuildChannelFactory <IRequestSessionChannel> (ctx), "#3");
            Assert.IsTrue(be.CanBuildChannelFactory <IOutputSessionChannel> (ctx), "#4");
        }