DefaultMethodInfo implements MethodInfo { public void setParameters(Object[] parameters) { this.parameters = parameters; }  ResourceMethod getResourceMethod(); void setResourceMethod(ResourceMethod resourceMethod); void setParameters(Object[] parameters); Object[] getParameters(); Object getResult(); void setResult(Object result); boolean parametersWereSet();  }
@Test public void setParameters() throws Exception { methodInfo.setParameters(new Object[] {"a", "b"}); assertTrue(methodInfo.parametersWereSet()); }