@Test
    public void testLegalFeatureNames() {
        assertFalse(FeatureNames.needsQuoting("_"));
        assertTrue(FeatureNames.needsQuoting("-"));
        assertFalse(FeatureNames.needsQuoting("_-"));
        assertFalse(FeatureNames.needsQuoting("0_-azAZxy98-_"));
        assertTrue(FeatureNames.needsQuoting("0_-azAZxy98-_+"));
    }
Tests rank feature names.

@author bratseth
searchlib/src/test/java/com/yahoo/searchlib/ranking/features/FeatureNamesTestCase.java