public void GetRawValue() { SqlType type = new SqlXml(testXml, ParameterDirection.Input); Assert.AreEqual(testXml, type.GetRawValue()); type = new SqlXml(null, ParameterDirection.Input); Assert.Null(type.GetRawValue()); }