@Test(expected = UnsupportedMatchTypeException.class)
public void unsupportedMatchTypePhrase() throws QueryFilterException {

    Query q = createTerm("c1", "v1");
    q.term.matchType = MatchType.PHRASE;
    QueryFilter.create(q);
}