### Question:
MetadataUtils { public static boolean isColumnInEmbeddableIndexable(Field embeddedField, String columnFieldName) { Class<?> embeddableClass = PropertyAccessorHelper.getGenericClass(embeddedField); IndexCollection indexCollection = embeddableClass.getAnnotation(IndexCollection.class); if (indexCollection != null && indexCollection.columns() != null) { for (com.impetus.kundera.index.Index column : indexCollection.columns()) { if (columnFieldName != null && column != null && column.name() != null && column.name().equals(columnFieldName)) { return true; } } } return false; }  static void populateColumnAndSuperColumnMaps(EntityMetadata m, Map<String, Field> columnNameToFieldMap,
            Map<String, Field> superColumnNameToFieldMap, final KunderaMetadata kunderaMetadata); static Map<String, Field> createColumnsFieldMap(EntityMetadata m, EmbeddableType superColumn); static Map<String, Field> createSuperColumnsFieldMap(final EntityMetadata m,
            final KunderaMetadata kunderaMetadata); static Collection getEmbeddedCollectionInstance(Field embeddedCollectionField); static Object getEmbeddedGenericObjectInstance(Field embeddedCollectionField); static String getEmbeddedCollectionPrefix(String embeddedCollectionName); static String getEmbeddedCollectionPostfix(String embeddedCollectionName); static String serializeKeys(Set<String> foreignKeys); static Set<String> deserializeKeys(String foreignKeys); static void setSchemaAndPersistenceUnit(EntityMetadata m, String schemaStr, Map puProperties); static boolean useSecondryIndex(ClientMetadata clientMetadata); static String getMappedName(EntityMetadata parentMetadata, Relation relation,
            final KunderaMetadata kunderaMetadata); static String getEnclosingEmbeddedFieldName(EntityMetadata m, String criteria, boolean viaColumnName,
            final KunderaMetadata kunderaMetadata); static boolean isEmbeddedAtributeIndexable(Field embeddedField); static boolean isColumnInEmbeddableIndexable(Field embeddedField, String columnFieldName); static boolean defaultTransactionSupported(final String persistenceUnit,
            final KunderaMetadata kunderaMetadata); static boolean isSchemaAttributeRequired(final String persistenceUnit, final KunderaMetadata kunderaMetadata); static boolean indexSearchEnabled(final String persistenceUnit, final KunderaMetadata kunderaMetadata); static boolean isBasicElementCollectionField(Field collectionField); static boolean containsBasicElementCollectionField(final EntityMetadata m,
            final KunderaMetadata kunderaMetadata); static void onJPAColumnMapping(final EntityType entityType, EntityMetadata entityMetadata); static boolean onCheckValidationConstraints(Field attribute); static boolean onCheckEmbeddableAttribute(Field attribute);  }### Answer:
@Test public void testIsColumnInEmbeddableIndexable() { EntityMetadata m = KunderaMetadataManager.getEntityMetadata(kunderaMetadata, SingularEntityEmbeddable.class); Assert.assertNotNull(m); try { Assert.assertTrue(MetadataUtils.isColumnInEmbeddableIndexable( m.getEntityClazz().getDeclaredField("embeddableEntityTwo"), "field")); Assert.assertFalse(MetadataUtils.isColumnInEmbeddableIndexable( m.getEntityClazz().getDeclaredField("embeddableEntityTwo"), "name")); Assert.assertTrue(MetadataUtils.isColumnInEmbeddableIndexable( m.getEntityClazz().getDeclaredField("embeddableEntity"), "field")); } catch (SecurityException e) { Assert.fail(e.getMessage()); } catch (NoSuchFieldException e) { Assert.fail(e.getMessage()); } }