public void GetSet() { SoapEnvelopeProcessingElement el = new SoapEnvelopeProcessingElement(); el.IsStrict = true; Assert.IsTrue(el.IsStrict, "A1"); el.ReadTimeout = 500; Assert.AreEqual(500, el.ReadTimeout, "A2"); }
public void Ctors() { SoapEnvelopeProcessingElement el = new SoapEnvelopeProcessingElement(); Assert.IsFalse(el.IsStrict, "A1"); Assert.AreEqual(Int32.MaxValue, el.ReadTimeout, "A2"); el = new SoapEnvelopeProcessingElement(500); Assert.IsFalse(el.IsStrict, "A3"); Assert.AreEqual(500, el.ReadTimeout, "A4"); el = new SoapEnvelopeProcessingElement(500, true); Assert.IsTrue(el.IsStrict, "A5"); Assert.AreEqual(500, el.ReadTimeout, "A6"); }