public void shouldGiveOptionValueFromPropertyLevelPrecedenceOverEntityLevel() {
// given
Class<?> entityType = Foo.class;
String propertyName = "bar";
optionsServiceContext.addEntityOption( entityType, new NameExampleOption(), "foobar" );
optionsServiceContext.addPropertyOption( entityType, propertyName, new NameExampleOption(), "barfoo" );
// when
OptionsContext context = OptionsContextImpl.forProperty( getSources(), entityType, propertyName );
// then