@Test
public void test_nested_to_string() {

  Aggregator countAggregator = dsl.count(dsl.abs(DSL.ref("integer_value", INTEGER)));
  assertEquals(String.format("count(abs(%s))", DSL.ref("integer_value", INTEGER)),
      countAggregator.toString());
}