### Question:
GeniaCorpusParser { public Set parse(InputStream is) throws FileNotFoundException, JAXBException { LOG.debug("parsing genia"); try { return (Set) unmarshaller.unmarshal(is); } finally { IOUtils.closeQuietly(is); } } GeniaCorpusParser(); Set parse(InputStream is);  }### Answer:
@Test public void test() throws Exception { InputStream is = this.getClass().getResourceAsStream( "/GENIAcorpus3.02.xml/test_sample.xml"); Set parse = new GeniaCorpusParser().parse(is); assertEquals(1, parse.getArticle().size()); Article a = parse.getArticle().get(0); assertNotNull(a); }