NullQueryProcessor extends SortableQueryProcessor { @Override public boolean supports(Class<? extends Query<?>> query) { return (query == null); }  @Override boolean supports(Class<? extends Query<?>> query); @Override List<Property<T>> processInternal(Query query, T instance, Class<T> instanceClazz);  }
@Test public void supports() { NullQueryProcessor processor = new NullQueryProcessor(); assertTrue(processor.supports(null)); }
@Test public void doesNotSupport() { NullQueryProcessor processor = new NullQueryProcessor(); assertFalse(processor.supports(CatnapQuery.class)); }