public void TestFunctionCallTwoParameters() { var actual = new FunctionCall() { FunctionName = "test", Parameters = new List <SqlExpression>() { new ColumnReference() { Identifiers = new List <string> { "c1" } }, new ColumnReference() { Identifiers = new List <string> { "c2" } } } }.Print(); var expected = "test(c1, c2)"; actual.Should().Be(expected); }
public void TestFunctionCallWildcard() { var actual = new FunctionCall() { FunctionName = "test", Wildcard = true }.Print(); var expected = "test(*)"; actual.Should().Be(expected); }