"org/infinispan/protostream/lib/base.proto",
"org/infinispan/protostream/lib/base2.proto");
Map<String, FileDescriptor> files = new SquareProtoParser().parse(fileDescriptorSource);
FileDescriptor descriptor = files.get("org/infinispan/protostream/test/message.proto");
assertThat(descriptor.getMessageTypes()).hasSize(3);
assertThat(descriptor.getEnumTypes()).hasSize(1);
assertThat(descriptor.getOptions()).hasSize(2);
assertSearchRequest(descriptor.getMessageTypes().get(0));
assertTopLevelEnum(descriptor.getEnumTypes().iterator().next());
assertSearchResponse(descriptor.getMessageTypes().get(1));
assertResult(descriptor.getMessageTypes().get(2));
assertExtensions(descriptor.getExtensionsTypes());
}