示例#1
0
 public void XmlSerialise_NonXmlObject_Fails()
 {
     var nxo = new NonXmlDoc(5);
      Assert.Throws<InvalidOperationException>(() => nxo.XmlSerialise());
 }
        public void XmlSerialise_NonXmlObject_Fails()
        {
            var nxo = new NonXmlDoc(5);

            Assert.Throws <InvalidOperationException>(() => nxo.XmlSerialise());
        }