// DELETE_USERS disabled for unknown user
featureUserProvider.setFeatureUser(null);
assertEquals(false, manager.isActive(MyFeatures.DELETE_USERS));
// DELETE_USERS enabled for admin user
featureUserProvider.setFeatureUser(new SimpleFeatureUser("admin", false));
assertEquals(true, manager.isActive(MyFeatures.DELETE_USERS));
// DELETE_USERS enabled for other user
featureUserProvider.setFeatureUser(new SimpleFeatureUser("somebody", false));
assertEquals(false, manager.isActive(MyFeatures.DELETE_USERS));
// EXPERIMENTAL disabled for all
featureUserProvider.setFeatureUser(null);
assertEquals(false, manager.isActive(MyFeatures.EXPERIMENTAL));