@Test
    void testAutomataPluralMatches() {
        assertSemantics("RANK sonys dsp1:sony", "sonys");

        assertSemantics("RANK (AND car cleaner) dsp1:\"car cleaners\" dsp5:\"car cleaners\"", "car cleaner");

        assertSemantics("RANK (AND sony digitals cameras) dsp1:sony dsp5:digicamera", "sony digitals cameras");
    }
Tests rule bases using automatas for matching

@author bratseth
container-search/src/test/java/com/yahoo/prelude/semantics/test/AutomataTestCase.java