@Test
public void invokeMatchNotNull() {

    FunctionTestUtil.assertResult(indexOfFunction.invoke(Arrays.asList("test", null, 12), "testttt"), Collections.emptyList());
    FunctionTestUtil.assertResult(
            indexOfFunction.invoke(Arrays.asList("test", null, BigDecimal.valueOf(12)), "test"),
            Collections.singletonList(BigDecimal.valueOf(1)));
    FunctionTestUtil.assertResult(
            indexOfFunction.invoke(Arrays.asList("test", null, "test"),"test"),
            Arrays.asList(BigDecimal.valueOf(1), BigDecimal.valueOf(3)));
}