@Test
public void testHibernateSearchNativeAPIUsage() throws Exception {
getTransactionManager().begin();
final EntityManager entityManager = getFactory().createEntityManager();
final FullTextSession ftSession = org.hibernate.search.Search.getFullTextSession( entityManager.unwrap( Session.class ) );
final Insurance insurance = new Insurance();
insurance.setName( "Macif" );
ftSession.persist( insurance );
getTransactionManager().commit();