.writeConcern( new ReplicaConfigurableWriteConcern( 3 ) )
.property( "content", ElementType.FIELD )
.writeConcern( WriteConcernType.ACKNOWLEDGED )
.writeConcern( new ReplicaConfigurableWriteConcern( 4 ) );
OptionsContainer options = getSource().getGlobalOptions();
assertThat( options.getUnique( WriteConcernOption.class ) ).isEqualTo( new ReplicaConfigurableWriteConcern( 2 ) );
options = getSource().getEntityOptions( ExampleForMongoDBMapping.class );
assertThat( options.getUnique( WriteConcernOption.class ) ).isEqualTo( new ReplicaConfigurableWriteConcern( 3 ) );
options = getSource().getPropertyOptions( ExampleForMongoDBMapping.class, "content" );
assertThat( options.getUnique( WriteConcernOption.class ) ).isEqualTo( new ReplicaConfigurableWriteConcern( 4 ) );
}