test_class.declarator: service
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private FormatRegistrationService service;
test_class.type: FormatRegistrationService
test_class.var_name: service
test_class.file: dataprep-transformation/src/test/java/org/talend/dataprep/transformation/format/FormatRegistrationServiceTest.java
test_class.identifier: FormatRegistrationServiceTest
test_class.superclass: extends BaseFormatTest
test_case.body: @Test
      public void shouldGetFormatByItsName() {
          final ExportFormat csvFormat = service.getByName(CSVFormat.CSV);
          Assert.assertTrue(csvFormat instanceof CSVFormat);
      }
test_case.class_method_signature: FormatRegistrationServiceTest.shouldGetFormatByItsName()
test_case.full_signature: @Test public void shouldGetFormatByItsName()
test_case.identifier: shouldGetFormatByItsName
test_case.invocations: getByName assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldGetFormatByItsName()
focal_class.declarator: INTERNAL_TYPES = Collections.singletonList(JsonFormat.JSON)
focal_class.modifier: private static final
focal_class.original_string: private static final List<String> INTERNAL_TYPES = Collections.singletonList(JsonFormat.JSON);
focal_class.type: List<String>
focal_class.var_name: INTERNAL_TYPES
focal_class.declarator: types
focal_class.modifier: private final
focal_class.original_string: private final List<ExportFormat> types;
focal_class.type: List<ExportFormat>
focal_class.var_name: types
focal_class.file: dataprep-transformation/src/main/java/org/talend/dataprep/transformation/format/FormatRegistrationService.java
focal_class.identifier: FormatRegistrationService
focal_class.class_method_signature: FormatRegistrationService.FormatRegistrationService(List<ExportFormat> types)
focal_class.full_signature: public  FormatRegistrationService(List<ExportFormat> types)
focal_class.identifier: FormatRegistrationService
focal_class.modifiers: public
focal_class.parameters: (List<ExportFormat> types)
focal_class.signature:  FormatRegistrationService(List<ExportFormat> types)
focal_class.class_method_signature: FormatRegistrationService.getExternalFormats()
focal_class.full_signature: public Stream<ExportFormat> getExternalFormats()
focal_class.identifier: getExternalFormats
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Stream<ExportFormat>
focal_class.signature: Stream<ExportFormat> getExternalFormats()
focal_class.class_method_signature: FormatRegistrationService.getByName(String formatName)
focal_class.full_signature: public ExportFormat getByName(String formatName)
focal_class.identifier: getByName
focal_class.modifiers: public
focal_class.parameters: (String formatName)
focal_class.return: ExportFormat
focal_class.signature: ExportFormat getByName(String formatName)
focal_method.body: public ExportFormat getByName(String formatName) {
          return types
                  .stream() //
                  .filter(f -> equalsIgnoreCase(formatName, f.getName())) //
                  .findFirst() //
                  .orElse(null);
      }
focal_method.class_method_signature: FormatRegistrationService.getByName(String formatName)
focal_method.full_signature: public ExportFormat getByName(String formatName)
focal_method.identifier: getByName
focal_method.invocations: orElse findFirst filter stream equalsIgnoreCase getName
focal_method.modifiers: public
focal_method.parameters: (String formatName)
focal_method.return: ExportFormat
focal_method.signature: ExportFormat getByName(String formatName)