@Test
public void invokeArrayOfIntegers() {

    FunctionTestUtil.assertResult(minFunction.invoke(new Object[]{1}), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(new Object[]{1, 2, 3}), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(new Object[]{2, 1, 3}), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(new Object[]{2, 3, 1}), 1);
}