2 // Tests for System.Xml.Serialization.SoapTypeAttribute
\r
10 using System.Xml.Serialization;
\r
12 using NUnit.Framework;
\r
14 namespace MonoTests.System.XmlSerialization
\r
17 public class SoapTypeAttributeTests
\r
20 public void IncludeInSchemaDefault ()
\r
22 SoapTypeAttribute attr = new SoapTypeAttribute ();
\r
23 Assert.AreEqual (true, attr.IncludeInSchema);
\r
27 public void NamespaceDefault ()
\r
29 SoapTypeAttribute attr = new SoapTypeAttribute ();
\r
30 Assert.IsNull (attr.Namespace);
\r
34 public void TypeNameDefault ()
\r
36 SoapTypeAttribute attr = new SoapTypeAttribute ();
\r
37 Assert.AreEqual (string.Empty, attr.TypeName, "#1");
\r
39 attr.TypeName = null;
\r
40 Assert.AreEqual (string.Empty, attr.TypeName, "#2");
\r