test_class.file: singa-structure/src/test/java/bio/singa/structure/parser/pdb/structures/iterators/sources/LocalSourceIteratorTest.java
test_class.identifier: LocalSourceIteratorTest
test_case.body: @Test
      void shouldIterateOfflinePdbFilesWithPath() {
  
          List<Path> sources = new ArrayList<>();
          sources.add(Paths.get(Resources.getResourceAsFileLocation("RF00167/2eeu.pdb")));
          sources.add(Paths.get(Resources.getResourceAsFileLocation("RF00167/3gao.pdb")));
          sources.add(Paths.get(Resources.getResourceAsFileLocation("RF00167/4lx5.pdb")));
  
          LocalSourceIterator<Path> onlinePdbIterator = new LocalSourceIterator<>(sources, IdentityConverter.get(Path.class));
          while (onlinePdbIterator.hasNext()) {
              Path nextFileLocation = onlinePdbIterator.next();
              String nextPdbIdentifier = PDBIdentifier.extractFirst(nextFileLocation.getFileName().toString());
              Object content = onlinePdbIterator.getContent(nextFileLocation);
              assertTrue(content instanceof List);
              List<String> strings = (List<String>) content;
              String pdbIdentifier = HeaderToken.ID_CODE.extract(strings.iterator().next());
              assertTrue(pdbIdentifier.equalsIgnoreCase(nextPdbIdentifier));
          }
  
      }
test_case.class_method_signature: LocalSourceIteratorTest.shouldIterateOfflinePdbFilesWithPath()
test_case.full_signature: @Test void shouldIterateOfflinePdbFilesWithPath()
test_case.identifier: shouldIterateOfflinePdbFilesWithPath
test_case.invocations: add get getResourceAsFileLocation add get getResourceAsFileLocation add get getResourceAsFileLocation get hasNext next extractFirst toString getFileName getContent assertTrue extract next iterator assertTrue equalsIgnoreCase
test_case.modifiers: @Test
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldIterateOfflinePdbFilesWithPath()
focal_class.declarator: locationConverter
focal_class.modifier: private final
focal_class.original_string: private final ContentConverter<SourceContent, Path> locationConverter;
focal_class.type: ContentConverter<SourceContent, Path>
focal_class.var_name: locationConverter
focal_class.declarator: pathConverter
focal_class.modifier: private final
focal_class.original_string: private final PathToObjectConverter pathConverter;
focal_class.type: PathToObjectConverter
focal_class.var_name: pathConverter
focal_class.file: singa-structure/src/main/java/bio/singa/structure/parser/pdb/structures/iterators/sources/LocalSourceIterator.java
focal_class.identifier: LocalSourceIterator
focal_class.class_method_signature: LocalSourceIterator.LocalSourceIterator(List<SourceContent> sources, ContentConverter<SourceContent, Path> converter)
focal_class.full_signature: public  LocalSourceIterator(List<SourceContent> sources, ContentConverter<SourceContent, Path> converter)
focal_class.identifier: LocalSourceIterator
focal_class.modifiers: public
focal_class.parameters: (List<SourceContent> sources, ContentConverter<SourceContent, Path> converter)
focal_class.signature:  LocalSourceIterator(List<SourceContent> sources, ContentConverter<SourceContent, Path> converter)
focal_class.class_method_signature: LocalSourceIterator.LocalSourceIterator(ContentConverter<SourceContent, Path> converter)
focal_class.full_signature: private  LocalSourceIterator(ContentConverter<SourceContent, Path> converter)
focal_class.identifier: LocalSourceIterator
focal_class.modifiers: private
focal_class.parameters: (ContentConverter<SourceContent, Path> converter)
focal_class.signature:  LocalSourceIterator(ContentConverter<SourceContent, Path> converter)
focal_class.class_method_signature: LocalSourceIterator.fromChainList(Path chainList, String separator, ContentConverter<String, Path> converter)
focal_class.full_signature: public static LocalSourceIterator<String> fromChainList(Path chainList, String separator, ContentConverter<String, Path> converter)
focal_class.identifier: fromChainList
focal_class.modifiers: public static
focal_class.parameters: (Path chainList, String separator, ContentConverter<String, Path> converter)
focal_class.return: LocalSourceIterator<String>
focal_class.signature: LocalSourceIterator<String> fromChainList(Path chainList, String separator, ContentConverter<String, Path> converter)
focal_class.class_method_signature: LocalSourceIterator.fromLocalPdb(LocalPDBRepository localPdb, int limit)
focal_class.full_signature: public static LocalSourceIterator<Path> fromLocalPdb(LocalPDBRepository localPdb, int limit)
focal_class.identifier: fromLocalPdb
focal_class.modifiers: public static
focal_class.parameters: (LocalPDBRepository localPdb, int limit)
focal_class.return: LocalSourceIterator<Path>
focal_class.signature: LocalSourceIterator<Path> fromLocalPdb(LocalPDBRepository localPdb, int limit)
focal_class.class_method_signature: LocalSourceIterator.getContent(SourceContent source)
focal_class.full_signature: @Override public Object getContent(SourceContent source)
focal_class.identifier: getContent
focal_class.modifiers: @Override public
focal_class.parameters: (SourceContent source)
focal_class.return: Object
focal_class.signature: Object getContent(SourceContent source)
focal_class.superclass: extends AbstractSourceIterator<SourceContent, Object>
focal_method.body: @Override
      public Object getContent(SourceContent source) {
          return pathConverter.convert(locationConverter.convert(source));
      }
focal_method.class_method_signature: LocalSourceIterator.getContent(SourceContent source)
focal_method.full_signature: @Override public Object getContent(SourceContent source)
focal_method.identifier: getContent
focal_method.invocations: convert convert
focal_method.modifiers: @Override public
focal_method.parameters: (SourceContent source)
focal_method.return: Object
focal_method.signature: Object getContent(SourceContent source)