@Test
public void invokeParamIsNull() {

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