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\" />")); }