assertEquals( 2, fts.createFullTextQuery( q ).getResultSize() );
assertEquals( 2, fts.createFullTextQuery( q, Detective.class, Suspect.class ).getResultSize() );
FullTextQuery detectiveQuery = fts.createFullTextQuery( q, Detective.class );
assertEquals( 1, detectiveQuery.getResultSize() );
assertTrue( detectiveQuery.list().get(0) instanceof Detective );
FullTextQuery suspectQuery = fts.createFullTextQuery( q, Suspect.class );
assertEquals( 1, suspectQuery.getResultSize() );
assertTrue( suspectQuery.list().get(0) instanceof Suspect );