test_class.declarator: releaseRepository
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ReleaseRepository releaseRepository;
test_class.type: ReleaseRepository
test_class.var_name: releaseRepository
test_class.declarator: xmlFile
test_class.modifier: @Autowired
      @Qualifier("XMLFileImportDefault")
      private
test_class.original_string: @Autowired
      @Qualifier("XMLFileImportDefault")
      private XMLFile xmlFile;
test_class.type: XMLFile
test_class.var_name: xmlFile
test_class.file: persistence-mongodb/src/test/java/org/devgateway/ocds/persistence/mongo/reader/XMLFileImportTest.java
test_class.identifier: XMLFileImportTest
test_class.superclass: extends AbstractMongoTest
test_case.body: @Test
      @Ignore
      public void process() throws Exception {
          final ClassLoader classLoader = getClass().getClassLoader();
          final File file = new File(classLoader.getResource("xml/release.xml").getFile());
          xmlFile.process(file);
  
          final List<Release> releases = releaseRepository.findAll();
          Assert.assertNotNull(releases);
  
          final Release release = releaseRepository.findById("xmlimport-123").get();
          Assert.assertNotNull(release);
          Assert.assertEquals("check field", release.getLanguage(), "en");
      }
test_case.class_method_signature: XMLFileImportTest.process()
test_case.full_signature: @Test @Ignore public void process()
test_case.identifier: process
test_case.invocations: getClassLoader getClass getFile getResource process findAll assertNotNull get findById assertNotNull assertEquals getLanguage
test_case.modifiers: @Test @Ignore public
test_case.parameters: ()
test_case.return: void
test_case.signature: void process()
focal_class.declarator: releaseRepository
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ReleaseRepository releaseRepository;
focal_class.type: ReleaseRepository
focal_class.var_name: releaseRepository
focal_class.file: persistence-mongodb/src/main/java/org/devgateway/ocds/persistence/mongo/reader/XMLFileImport.java
focal_class.identifier: XMLFileImport
focal_class.interfaces: implements XMLFile
focal_class.class_method_signature: XMLFileImport.process(final InputStream inputStream)
focal_class.full_signature: @Async public void process(final InputStream inputStream)
focal_class.identifier: process
focal_class.modifiers: @Async public
focal_class.parameters: (final InputStream inputStream)
focal_class.return: void
focal_class.signature: void process(final InputStream inputStream)
focal_class.class_method_signature: XMLFileImport.process(final File file)
focal_class.full_signature: @Async public void process(final File file)
focal_class.identifier: process
focal_class.modifiers: @Async public
focal_class.parameters: (final File file)
focal_class.return: void
focal_class.signature: void process(final File file)
focal_class.class_method_signature: XMLFileImport.saveRelease(final Object obj)
focal_class.full_signature: public void saveRelease(final Object obj)
focal_class.identifier: saveRelease
focal_class.modifiers: public
focal_class.parameters: (final Object obj)
focal_class.return: void
focal_class.signature: void saveRelease(final Object obj)
focal_class.class_method_signature: XMLFileImport.processRelease(Release release)
focal_class.full_signature: protected abstract Release processRelease(Release release)
focal_class.identifier: processRelease
focal_class.modifiers: protected abstract
focal_class.parameters: (Release release)
focal_class.return: Release
focal_class.signature: Release processRelease(Release release)
focal_class.class_method_signature: XMLFileImport.getAbstractRulesModule()
focal_class.full_signature: protected abstract AbstractRulesModule getAbstractRulesModule()
focal_class.identifier: getAbstractRulesModule
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: AbstractRulesModule
focal_class.signature: AbstractRulesModule getAbstractRulesModule()
focal_method.body: @Async
      public void process(final InputStream inputStream) throws IOException, SAXException {
          DigesterLoader digesterLoader = DigesterLoader.newLoader(getAbstractRulesModule());
          Digester digester = digesterLoader.newDigester();
  
          // Push this object onto Digester's stack to handle object save operation (call saveRelease method)
          digester.push(this);
          digester.parse(inputStream);
      }
focal_method.class_method_signature: XMLFileImport.process(final InputStream inputStream)
focal_method.full_signature: @Async public void process(final InputStream inputStream)
focal_method.identifier: process
focal_method.invocations: newLoader getAbstractRulesModule newDigester push parse
focal_method.modifiers: @Async public
focal_method.parameters: (final InputStream inputStream)
focal_method.return: void
focal_method.signature: void process(final InputStream inputStream)