@Test
public void testEmbeddableCustomIndexer()
{
try
{
CoreIndexer indexer = new CoreIndexer();
IndexManager ixManager = new IndexManager(indexer, ((EntityManagerFactoryImpl)emf).getKunderaMetadataInstance());
Map<String, Client> clients = (Map<String, Client>) em.getDelegate();
CoreTestClient client = (CoreTestClient)clients.get("patest");
client.setIndexManager(ixManager);