### Question:
CollectionField implements FieldType { @Override public Types getType() { return type; } CollectionField(final Types type, final Types subType); @Override Types getType(); Types getSubType(); @Override Object getDefaultValue(); @Override boolean hasDefaultValue(); @Override Object convert(Object objValue); @Override JSONObject toJson();  }### Answer:
@Test public void testGetType() throws OperationException { System.out.println("getQueryCode"); CollectionField instance; instance = new CollectionField(Types.ARRAY, Types.STRING); assertEquals(Types.ARRAY, instance.getType()); instance = new CollectionField(Types.MULTISET, Types.STRING); assertEquals(Types.MULTISET, instance.getType()); }