assertThat(groups, notNullValue());
assertThat(groups.size(), is(2));
// verify field level group is there
FeatureGroup group1 = Iterables.find(groups, createFeatureGroupLabelPredicate(FIELD_LEVEL_GROUP_LABEL));
assertThat(group1.contains(TestFeatures.FEATURE), is(true));
// verify class level group is there
FeatureGroup group2 = Iterables.find(groups, createFeatureGroupLabelPredicate(CLASS_LEVEL_GROUP_LABEL));
assertThat(group2.contains(TestFeatures.FEATURE), is(true));
}