new MongoDB().getConfigurationBuilder( configurationContext )
.entity( ExampleForMongoDBMapping.class )
.property( "content", ElementType.FIELD )
.associationStorage( AssociationStorageType.ASSOCIATION_DOCUMENT );
OptionsContainer options = new ProgrammaticOptionValueSource( context ).getPropertyOptions( ExampleForMongoDBMapping.class, "content" );
assertThat( options.getUnique( AssociationStorageOption.class ) ).isEqualTo( AssociationStorageType.ASSOCIATION_DOCUMENT );
}