Object parameter = new Object();
Creator creator = new Creator();
Submit submit = (Submit) creator.newInstance(Submit.class, new Object[]
{ "listener", listener, "defer", Boolean.TRUE, "parameters", parameter, "listenerInvoker",
new ListenerInvokerTerminator() });
cycle.setListenerParameters(new Object[]
{ parameter });
cycleControl.setMatcher(MockControl.ARRAY_MATCHER);