}
public static void testType() throws Exception {
Abdera abdera = new Abdera();
Feature feature = abdera.getFactory().newElement(FeaturesHelper.FEATURE);
FeaturesHelper.addType(feature, "image/jpg","image/gif","image/png","image/*");
String[] types = FeaturesHelper.getTypes(feature);
assertEquals(1,types.length);
assertEquals("image/*", types[0]);
}