Its supposed to be
by: [function: &Test.test/2,
It accepts function of arity 1 or 2 - if it is 2 it is passing context as second param.
You might have to relook at your test function
Its supposed to be
by: [function: &Test.test/2,
It accepts function of arity 1 or 2 - if it is 2 it is passing context as second param.
You might have to relook at your test function