code: public static <T extends Query<?, R>, R extends Object> T createMock(Class<T> type) {
      return Mockito.mock(type, createAnswer(type));
    }
docs: Creates a new mock of given type with a fluent default answer already set
  up.
  
  @param type
  type of mock
  @param <T>
  generic parameter for type of mock
  @return new mock instance of type T with default fluent answer.