	@Test
	void test() throws Exception {

		String file = IOUtils.toString(getClass().getResourceAsStream("/HelloService.proto"));
		FileDescriptorSet descriptorSet = toDescriptor(file);
		
		var sut = new ProtoDescriptorSerializer();
		var generatedFiles = sut.descriptorToString(descriptorSet);
		var generatedContent = generatedFiles.get(0).getContents(); 
		var generatedDesc = toDescriptor(generatedContent);
		
		assertThat(generatedDesc.getFile(0)).isEqualToIgnoringGivenFields(descriptorSet.getFile(0), "name_", "package_", "syntax_");
		
	}