public void TestGroupByTwo() { var actual = new GroupByClause() { Groups = new List <GroupBy.Group>() { new ExpressionGroup() { Expression = new ColumnReference() { Identifiers = new List <string>() { "c1" } } }, new ExpressionGroup() { Expression = new ColumnReference() { Identifiers = new List <string>() { "c2" } } } } }.Print(); var expected = "GROUP BY c1, c2"; actual.Should().Be(expected); }