### Question:
FeatureFilter { public static List<String> getGroupTags(String text) { List<String> tags = new ArrayList<String>(); if (text.startsWith("@")) { Matcher m = TAG_PATTERN.matcher(text); while (m.find()) { tags.add(m.group()); } } return tags; } FeatureFilter(List<Feature> features); List<Feature> filter(String text); static boolean isMatch(Feature feature, String text); static List<String> getGroupTags(String text); static Pattern TAG_PATTERN; }### Answer:
@Test public void getGroupTagsTest() { assertTrue(FeatureFilter.getGroupTags("@onlyfilter,@only").size()==2); }