public void FromFunctionTest() { ISqlFunction function = new SqlFunction("SUM"); function.AddArgument(new SqlStringExpression("1")); function.AddArgument(new SqlStringExpression("2")); ISqlObject obj = SqlObject.FromFunction(function); Assert.AreEqual <string>(function.SqlString, obj.Fullname); Assert.AreEqual <string>(function.SqlString, obj.SqlString); }