@Test
public void invokeListTypeHeterogenous() {

    FunctionTestUtil.assertResultList(
            reverseFunction.invoke(Arrays.asList(1, "test", BigDecimal.TEN, Collections.emptyList())),
            Arrays.asList(Collections.emptyList(), BigDecimal.TEN, "test", 1));
    FunctionTestUtil.assertResultList(
            reverseFunction.invoke(Arrays.asList(1, "test", BigDecimal.TEN, Arrays.asList(1, 2, 3))),
            Arrays.asList(Arrays.asList(1, 2, 3), BigDecimal.TEN, "test", 1));
}