    @Test
    public void test_twoTerm() throws SyntaxError {


        // arrange
        QParser parser = new SimilarityParser("first second",new ModifiableSolrParams(),mockCorrectParams,req("first second"));

        // act
        Query luceneQuery = parser.parse();

        // assert
        Assert.assertEquals(BooleanQuery.class, luceneQuery.getClass());
        BooleanQuery realQuery = (BooleanQuery)luceneQuery;
        Assert.assertEquals(2,realQuery.clauses().size());

        // first
        AugmentedTermQuery expected1 = new AugmentedTermQuery(
                AugmentedTermQuery.ModelMethod.Generalized, new Term("text", "first"),
                new TermWeightTuple[]{SimilarityApiMock.similarTerm("text")}
        );
        Assert.assertEquals(expected1,realQuery.clauses().get(0).getQuery());

        //second
        AugmentedTermQuery expected2 = new AugmentedTermQuery(
                AugmentedTermQuery.ModelMethod.Generalized, new Term("text", "second"),
                new TermWeightTuple[]{SimilarityApiMock.similarTerm("text")}
        );
        Assert.assertEquals(expected2,realQuery.clauses().get(1).getQuery());

    }