@Test
public void invokeParamIsNull() {

    FunctionTestUtil.assertResultError( finishedByFunction.invoke((Range) null, (Comparable) "b" ), InvalidParametersEvent.class );
    FunctionTestUtil.assertResultError( finishedByFunction.invoke((Range) new RangeImpl(), (Comparable) null ), InvalidParametersEvent.class );
}