@Test
public void testOrderOfFields() {

  // Add a single field that has an index greater than 0.
  final DublinCoreMetadataCollection collection = new DublinCoreMetadataCollection(Collections.singleton(third));
  assertEquals(1, collection.getFields().size());
  assertEquals(third, collection.getFields().get(0));
}