optionsServiceContext.addEntityOption( entityType, new NameExampleOption(), "foobar" );
optionsServiceContext.addPropertyOption( entityType, propertyName, new NameExampleOption(), "barfoo" );
// when
OptionsContext context = OptionsContextImpl.forProperty( getSources(), entityType, propertyName );
// then
assertThat( context.getUnique( NameExampleOption.class ) ).isEqualTo( "barfoo" );
}