@Test
    public void testConstantFeature() {
        assertEquals("constant(foo)",
                     FeatureNames.asConstantFeature("foo").toString());
    }
Tests rank feature names.

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