@Test
public void nothingStaged() {

  Throwable thrown =
      assertThrows(
          IllegalArgumentException.class,
          () ->
              ArgumentList.builder()
                  .stageFunction("col1", AggregateFunctions.MAX)
                  .stageFunction("col1", AggregateFunctions.MAX)
                  .build());
  assertTrue(thrown.getMessage().contains("Cannot stage a column while another is staged"));
}