### Question:
PdfCollectionReader extends AbstractFileReader { static boolean extractReferencesNaively(JCas jCas) { List<Section> sections = newArrayList(); Matcher m = REFERENCES.matcher(jCas.getDocumentText()); while (m.find()) { Section section = new Section(jCas, m.start(), m.end()); section.setSectionType(BlueUima.SECTION_TYPE_REFERENCES); sections.add(section); } if (sections.size() == 1) { sections.get(0).addToIndexes(); return true; } return false; }  @Override void initialize(UimaContext context); @Override void getNext(JCas jcas); static void extractText(JCas jcas, BDocument bDocument,
            String docId, boolean expandAbbrevs); static void printHtml(JCas jcas, File file); static void serializeXMLDocument(Document doc, Writer output); static final String COMPONENT_ID; static final String PARAM_EXTRACT_TABLES; static final String PARAM_EXPAND_ABBREVIATIONS; static final String PARAM_EXTRACT_REFERENCES; }### Answer:
@Test @Ignore public void tesTextractReferencesNaively() throws Exception { assertFalse(extractReferencesNaively(getTestCas("no\nrefs\nhere"))); assertTrue(extractReferencesNaively(getTestCas("some\nReferences\nhere"))); }