characterizer = new MetadataExtractor();
}
@Test
public void testServiceDescription() {
ServiceDescription description = characterizer.describe();
/*
* We expect to have at least as many input formats (PRONOM) as there
* are supported file types (extensions):
*/
int size = description.getInputFormats().size();
Assert.assertTrue(
"Service description contains less input formats than it should: "
+ size, size >= MetadataType.values().length);
}