private void assertTimeoutOccursOnIterate() {
FullTextQuery hibernateQuery = fts.createFullTextQuery( allSwatchClocksQuery, Clock.class );
hibernateQuery.setTimeout( 10, TimeUnit.MICROSECONDS );
try {
hibernateQuery.iterate();
fail( "timeout exception should happen" );
}
catch (QueryTimeoutException e) {
//good
}