{
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);
EntityMetadata metadata = KunderaMetadataManager.getEntityMetadata(((EntityManagerFactoryImpl)emf).getKunderaMetadataInstance(), SingularEntityEmbeddable.class);
SingularEntityEmbeddable entity = new SingularEntityEmbeddable();
entity.setKey(1);
entity.setName("entity");