@Test public void testSetterAnnotationFormat() { Field field = new Field(); field.setName("requiredField"); field.setNillable(false); field.setDefaultedOnCreate(false); ForceJPAFieldRenderer renderer = new ForceJPAFieldRenderer(); assertEquals(renderer.toString(field, "setterAnnotation0"), "@Basic(optional=false)", "Unexpected result for ForceApiFieldRenderer getterAnnotation format"); }
@Override public String toString(Object o) { return ""; }
ForceJPAFieldRenderer implements AttributeRenderer { @Override public String toString(Object o) { return ""; } }
ForceJPAFieldRenderer implements AttributeRenderer { @Override public String toString(Object o) { return ""; }  }
ForceJPAFieldRenderer implements AttributeRenderer { @Override public String toString(Object o) { return ""; }  @Override String toString(Object o); @Override String toString(Object o, String format); }
ForceJPAFieldRenderer implements AttributeRenderer { @Override public String toString(Object o) { return ""; }  @Override String toString(Object o); @Override String toString(Object o, String format);  }