source: class PostDaoTest extends BaseDao<Post, Long> {
  
  	@Autowired SessionFactory sessionFactory;
  	@Autowired PostDao postDao;
  
  	@Test
  	public void testFullTextQueryStringQueryParser() {
  
target: 		List<Post> list = postDao.fullTextQuery("content:first",
  				new QueryParser(Version.LUCENE_35, "content", new StopAnalyzer(
  						Version.LUCENE_35)));
  		assertThat(list.size(), equalTo(2));
  	}
  
  }