### Question:
CollectionField implements FieldType { public Types getSubType() { return subType; } 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 testGetSubType() throws OperationException { System.out.println("getSubType"); CollectionField instance; for (Types type : Types.values()) { instance = new CollectionField(Types.ARRAY, type); assertEquals(type, instance.getSubType()); } for (Types type : Types.values()) { instance = new CollectionField(Types.MULTISET, type); assertEquals(type, instance.getSubType()); } }