public void SerializeToXml()
        {
            var binding = new NetMsmqBindingElement {
                ExactlyOnce = false
            };

            binding.GetBindingElementXml("netMsmqBinding").Should().Be("<binding name=\"netMsmqBinding\" exactlyOnce=\"false\" retryCycleDelay=\"00:10:00\" />");
        }
        public void SerializeToXml()
        {
            var binding = new NetMsmqBindingElement {
                ExactlyOnce = false
            };

            Assert.That(
                binding.GetBindingElementXml("netMsmqBinding"),
                Is.EqualTo("<binding name=\"netMsmqBinding\" exactlyOnce=\"false\" retryCycleDelay=\"00:10:00\" />"));
        }
        public void GetBindingNameForDecoratedNetMsmqBindingElement()
        {
            var bindingElement = new NetMsmqBindingElement();

            Assert.That(WcfBindingRegistry.GetBindingName(bindingElement), Is.EqualTo("netMsmqBinding"));
        }
        public void GetBindingNameForDecoratedNetMsmqBindingElement()
        {
            var bindingElement = new NetMsmqBindingElement();

            WcfBindingRegistry.GetBindingName(bindingElement).Should().Be("netMsmqBinding");
        }