@Test public void testReferenceMethodNameFormat() { Field field = new Field(); field.setName("fieldName"); field.setType(FieldType.reference); field.setRelationshipName("relationshipName"); field.setReferenceTo(new String[] { "Relationship" }); ForceJPAFieldRenderer renderer = new ForceJPAFieldRenderer(); assertEquals(renderer.toString(field, "methodName"), "RelationshipName", "Unexpected result for ForceApiFieldRenderer methodName 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);  }