protected void CompareSqlStrings(SqlString actualSqlString, string expectedString, int expectedNumOfParameters) { Assert.AreEqual(expectedString, actualSqlString.ToString(), "SqlString.ToString()"); Assert.AreEqual(expectedNumOfParameters, actualSqlString.GetParameterCount(), "Num of Parameters"); }