@Test
public void invokeParamNotCollection() {

    FunctionTestUtil.assertResult(flattenFunction.invoke(BigDecimal.valueOf(10.2)), Collections.singletonList(BigDecimal.valueOf(10.2)));
    FunctionTestUtil.assertResult(flattenFunction.invoke("test"), Collections.singletonList("test"));
}