@Test
public void invokeParamIsNull() {

    FunctionTestUtil.assertResultError( afterFunction.invoke((Comparable) null, (Comparable) "b" ), InvalidParametersEvent.class );
    FunctionTestUtil.assertResultError( afterFunction.invoke((Comparable) "a", (Comparable) null ), InvalidParametersEvent.class );
}