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