@Test
public void testFeatures() throws Exception {
Abdera abdera = Abdera.getInstance();
Collection coll = abdera.getFactory().newCollection();
Features features = FeaturesHelper.addFeaturesElement(coll);
features.addFeature("http://example.com/features/foo", null, "foo & here");
features.addFeature("http://example.com/features/bar", null, null);
assertEquals(Status.SPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/foo"));
assertEquals(Status.SPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/bar"));
assertEquals(Status.UNSPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/baz"));
assertEquals(Status.UNSPECIFIED, FeaturesHelper.getFeatureStatus(coll, "http://example.com/features/pez"));