### Question:
LuceneQuery extends Query { @Override public QueryType queryType() { return QueryType.LUCENE; } LuceneQuery(final String query); String getQuery(); @Override void accept(final QueryVisitor visitor); @Override QueryType queryType(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString();  }### Answer:
@Test public void shouldBeLuceneQuery() { final LuceneQuery query = new LuceneQuery(Randoms.randomString()); assertEquals(QueryType.LUCENE, query.queryType()); }