public void ToXmlTest2() { basicConstraints target = new basicConstraints(testData3); XNode expected = testData3; XNode actual; actual = target.ToXml(); Assert.AreEqual(expected.ToString(), actual.ToString()); }
public void basicConstraintsConstructorTest2() { basicConstraints target = new basicConstraints(false); target.IsCA = false; target.PathLength = "none"; XNode expected = testData3; XNode actual = target.ToXml(); Assert.AreEqual(expected.ToString(), actual.ToString()); }