// optional Type type = 1000;
// }
//
// option (type).code.number = 68;
@Test public void should_provide_message_fields_for_field_in_custom_option() {
CustomOption option = xtext.find("type", ")", CustomOption.class);
MessageOptionField numberOptionField = (MessageOptionField) option.getFields().get(1);
IScope scope = scopeProvider.scope_OptionField_target(numberOptionField, reference);
Message codeMessage = xtext.find("Code", " {", Message.class);
assertThat(descriptionsIn(scope), containAllFieldsIn(codeMessage));
}