DefaultMethodInfo implements MethodInfo { public boolean parametersWereSet() { return parameters != null; }  ResourceMethod getResourceMethod(); void setResourceMethod(ResourceMethod resourceMethod); void setParameters(Object[] parameters); Object[] getParameters(); Object getResult(); void setResult(Object result); boolean parametersWereSet();  }
@Test public void unsetParameters() throws Exception { assertFalse(methodInfo.parametersWereSet()); }