public void GetPropertySecurityCapabilities() { var b = new TcpTransportBindingElement(); var s = b.GetProperty <ISecurityCapabilities> (new BindingContext(new CustomBinding(), new BindingParameterCollection())); Assert.IsNull(s, "#1"); }
public void GetPrpertyBindingDeliveryCapabilities() { var be = new TcpTransportBindingElement(); var dc = be.GetProperty <IBindingDeliveryCapabilities> (new BindingContext(new CustomBinding(), new BindingParameterCollection())); Assert.IsTrue(dc.AssuresOrderedDelivery, "#1"); Assert.IsFalse(dc.QueuedDelivery, "#2"); }
public void GetPropertySecurityCapabilities () { var b = new TcpTransportBindingElement (); var s = b.GetProperty<ISecurityCapabilities> (new BindingContext (new CustomBinding (), new BindingParameterCollection ())); Assert.IsNull (s, "#1"); }
public void GetPrpertyBindingDeliveryCapabilities () { var be = new TcpTransportBindingElement (); var dc = be.GetProperty<IBindingDeliveryCapabilities> (new BindingContext (new CustomBinding (), new BindingParameterCollection ())); Assert.IsTrue (dc.AssuresOrderedDelivery, "#1"); Assert.IsFalse (dc.QueuedDelivery, "#2"); }