* Tests that the compareTo method of DateMetadataValue works as it should.
* @throws Exception if so.
*/
@Test
public void testCompare() throws Exception {
TimeDetails details = new TimeDetails(05, 06, 07);
DateMetadataValue value = new DateMetadataValue("name", "description",
2012, 11, 11, details, false);
DateMetadataValue sameValue = value.clone();
assertEquals(0, value.compareTo(sameValue));
DateMetadataValue largerValue = new DateMetadataValue("name", "description",