### Question:
ReferenceField implements FieldType<String> { @Override public Types getType() { return type; } ReferenceField();  ReferenceField(final String scope); @Override Types getType(); String getScope(); boolean isScoped(); @Override String getDefaultValue(); @Override boolean hasDefaultValue(); @Override String convert(Object objValue); @Override JSONObject toJson();  }### Answer:
@Test public void testGetType() { System.out.println("getQueryCode"); assertEquals(Types.REF, new ReferenceField().getType()); assertEquals(Types.REF, new ReferenceField("table").getType()); }