### Question:
LuceneSerializer { protected Query ne(Operation<?> operation, QueryMetadata metadata, boolean ignoreCase) { BooleanQuery bq = new BooleanQuery(); bq.add(new BooleanClause(eq(operation, metadata, ignoreCase), Occur.MUST_NOT)); bq.add(new BooleanClause(new MatchAllDocsQuery(), Occur.MUST)); return bq; } LuceneSerializer(boolean lowerCase, boolean splitTerms);  LuceneSerializer(boolean lowerCase, boolean splitTerms,
            Locale sortLocale); Query toQuery(Expression<?> expr, QueryMetadata metadata); Sort toSort(List<? extends OrderSpecifier<?>> orderBys); static final LuceneSerializer DEFAULT; }### Answer:
@Test public void not_equals_finds_one() throws Exception { testQuery(title.ne("house"), "-title:house +*:*", 1); }
@Test public void not_equals_finds_none() throws Exception { testQuery(title.ne("Jurassic Park"), "-title:\"jurassic park\" +*:*", 0); }
@Test public void not_equals_empty_string() throws Exception { testQuery(title.ne(""), "-title: +*:*", 1); }