public void GetRawValue() { SqlType type = new SqlNVarChar("Hello ру́сский", 15, ParameterDirection.Input); Assert.AreEqual("Hello ру́сский", type.GetRawValue()); type = new SqlNVarChar(null, 15, ParameterDirection.Input); Assert.Null(type.GetRawValue()); }