@Test
public void invokeListOfIntegers() {

    FunctionTestUtil.assertResult(minFunction.invoke(Collections.singletonList(1)), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(Arrays.asList(1, 2, 3)), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(Arrays.asList(2, 1, 3)), 1);
    FunctionTestUtil.assertResult(minFunction.invoke(Arrays.asList(2, 3, 1)), 1);
}