@Test
public void invokeListTypeHeterogenous() {

    FunctionTestUtil.assertResultError(
            sortFunction.invoke(Arrays.asList(10, "test", BigDecimal.TEN)),
            InvalidParametersEvent.class);
}