@Test
public void testMatchesFulltext() {

    checkMatchesFullText(false, "abc def", "ghi");
    checkMatchesFullText(true, "abc", "abc");
    checkMatchesFullText(true, "abc", "ABC");
    checkMatchesFullText(true, "ABC", "abc");
    checkMatchesFullText(true, "ABC", "ABC");
    checkMatchesFullText(true, "abc def", "abc");
    checkMatchesFullText(true, "abcdef", "abc*");
    checkMatchesFullText(true, "abcdef", "abc%");
}