### Question:
ConceptFeatureSupport implements FeatureSupport<ConceptFeatureTraits> { @Override public boolean accepts(AnnotationFeature aFeature) { switch (aFeature.getMultiValueMode()) { case NONE: return aFeature.getType().startsWith(PREFIX); case ARRAY: default: return false; } } @Autowired  ConceptFeatureSupport(KnowledgeBaseService aKbService); @Override String getId(); @Override void setBeanName(String aBeanName); @Override Optional<FeatureType> getFeatureType(AnnotationFeature aFeature); @Override List<FeatureType> getSupportedFeatureTypes(AnnotationLayer aAnnotationLayer); @Override boolean accepts(AnnotationFeature aFeature); @Override String renderFeatureValue(AnnotationFeature aFeature, String aIdentifier); @Override String unwrapFeatureValue(AnnotationFeature aFeature, CAS aCAS, Object aValue); @Override KBHandle wrapFeatureValue(AnnotationFeature aFeature, CAS aCAS, Object aValue); @Override Panel createTraitsEditor(String aId, IModel<AnnotationFeature> aFeatureModel); @Override FeatureEditor createEditor(String aId, MarkupContainer aOwner,
            AnnotationActionHandler aHandler, IModel<AnnotatorState> aStateModel,
            IModel<FeatureState> aFeatureStateModel); @Override ConceptFeatureTraits readTraits(AnnotationFeature aFeature); @Override void writeTraits(AnnotationFeature aFeature, ConceptFeatureTraits aTraits); @Override void generateFeature(TypeSystemDescription aTSD, TypeDescription aTD,
            AnnotationFeature aFeature); @Override List<VLazyDetailQuery> getLazyDetails(AnnotationFeature aFeature, String aLabel); @Override List<VLazyDetailResult> renderLazyDetails(AnnotationFeature aFeature, String aQuery); @Override boolean suppressAutoFocus(AnnotationFeature aFeature); static final String PREFIX; static final String ANY_OBJECT; static final String TYPE_ANY_OBJECT; }### Answer:
@Test public void testAccepts() { ConceptFeatureSupport sut = new ConceptFeatureSupport(kbService); AnnotationFeature feat1 = new AnnotationFeature("Dummy feature", ConceptFeatureSupport.PREFIX + "someConcept"); AnnotationFeature feat2 = new AnnotationFeature("Dummy feature", "someConcept"); assertThat(sut.accepts(feat1)).isTrue(); assertThat(sut.accepts(feat2)).isFalse(); }