### Question:
DateField implements FieldType<Date> { @Override public Types getType() { return type; } DateField();  DateField(final Date defaultValue); @Override Types getType(); @Override Date getDefaultValue(); @Override boolean hasDefaultValue(); @Override Date convert(Object objValue); @Override JSONObject toJson();  }### Answer:
@Test public void testGetType() { System.out.println("testGetType"); DateField instance; instance = new DateField(); assertEquals(Types.DATE, instance.getType()); instance = new DateField(new Date(0)); assertEquals(Types.DATE, instance.getType()); }