@Test
public void testOrderOfFieldsInputFieldOrderZeroExpectsAtFront() {

  DublinCoreMetadataCollection collection = new DublinCoreMetadataCollection(Arrays
    .asList(unorderedOne, unorderedTwo, unorderedThree, first));
  assertEquals(4, collection.getFields().size());
  assertEquals("A field with an order value of 0 should be first in the list of fields", first, collection
          .getFields().get(0));
  collection = new DublinCoreMetadataCollection(Arrays.asList(first, unorderedOne, unorderedTwo, unorderedThree));
  assertEquals(4, collection.getFields().size());
  assertEquals("A field with an order value of 0 should be first in the list of fields", first, collection
          .getFields().get(0));
  collection = new DublinCoreMetadataCollection(Arrays.asList(unorderedOne, first, unorderedTwo, unorderedThree));
  assertEquals(4, collection.getFields().size());
  assertEquals("A field with an order value of 0 should be first in the list of fields", first, collection
          .getFields().get(0));
}