@Test public void testSetParameter4() { final Date date = context.mock(Date.class); context.checking(new Expectations() { { oneOf(ftqMock).setParameter(3, date, TemporalType.TIMESTAMP); } }); sut.setParameter(3, date, TemporalType.TIMESTAMP); context.assertIsSatisfied(); }
@Override public Query setParameter(final String arg0, final Object arg1) { return wrappedFullTextQuery.setParameter(arg0, arg1); }
ProjectionFullTextQuery implements FullTextQuery { @Override public Query setParameter(final String arg0, final Object arg1) { return wrappedFullTextQuery.setParameter(arg0, arg1); } }
ProjectionFullTextQuery implements FullTextQuery { @Override public Query setParameter(final String arg0, final Object arg1) { return wrappedFullTextQuery.setParameter(arg0, arg1); } ProjectionFullTextQuery(final FullTextQuery inWrappedFullTextQuery); }
ProjectionFullTextQuery implements FullTextQuery { @Override public Query setParameter(final String arg0, final Object arg1) { return wrappedFullTextQuery.setParameter(arg0, arg1); } ProjectionFullTextQuery(final FullTextQuery inWrappedFullTextQuery); @Override FullTextQuery setResultTransformer(final ResultTransformer inTransformer); @Override @SuppressWarnings("unchecked") List getResultList(); @Override void disableFullTextFilter(final String name); @Override FullTextFilter enableFullTextFilter(final String name); @Override Explanation explain(final int documentId); @Override int getResultSize(); @Override FullTextQuery setCriteriaQuery(final Criteria criteria); @Override FullTextQuery setFilter(final Filter filter); @Override FullTextQuery setProjection(final String... fields); @Override FullTextQuery setSort(final Sort sort); @Override int executeUpdate(); @Override @SuppressWarnings("unchecked") Object getSingleResult(); @Override Query setFirstResult(final int arg0); @Override Query setFlushMode(final FlushModeType arg0); @Override Query setHint(final String arg0, final Object arg1); @Override Query setMaxResults(final int arg0); @Override Query setParameter(final String arg0, final Object arg1); @Override Query setParameter(final int arg0, final Object arg1); @Override Query setParameter(final String arg0, final Date arg1, final TemporalType arg2); @Override Query setParameter(final String arg0, final Calendar arg1, final TemporalType arg2); @Override Query setParameter(final int arg0, final Date arg1, final TemporalType arg2); @Override Query setParameter(final int arg0, final Calendar arg1, final TemporalType arg2); }
ProjectionFullTextQuery implements FullTextQuery { @Override public Query setParameter(final String arg0, final Object arg1) { return wrappedFullTextQuery.setParameter(arg0, arg1); } ProjectionFullTextQuery(final FullTextQuery inWrappedFullTextQuery); @Override FullTextQuery setResultTransformer(final ResultTransformer inTransformer); @Override @SuppressWarnings("unchecked") List getResultList(); @Override void disableFullTextFilter(final String name); @Override FullTextFilter enableFullTextFilter(final String name); @Override Explanation explain(final int documentId); @Override int getResultSize(); @Override FullTextQuery setCriteriaQuery(final Criteria criteria); @Override FullTextQuery setFilter(final Filter filter); @Override FullTextQuery setProjection(final String... fields); @Override FullTextQuery setSort(final Sort sort); @Override int executeUpdate(); @Override @SuppressWarnings("unchecked") Object getSingleResult(); @Override Query setFirstResult(final int arg0); @Override Query setFlushMode(final FlushModeType arg0); @Override Query setHint(final String arg0, final Object arg1); @Override Query setMaxResults(final int arg0); @Override Query setParameter(final String arg0, final Object arg1); @Override Query setParameter(final int arg0, final Object arg1); @Override Query setParameter(final String arg0, final Date arg1, final TemporalType arg2); @Override Query setParameter(final String arg0, final Calendar arg1, final TemporalType arg2); @Override Query setParameter(final int arg0, final Date arg1, final TemporalType arg2); @Override Query setParameter(final int arg0, final Calendar arg1, final TemporalType arg2);  }