@Before public void setUp() { InputStream stream = AtomEntryHandler.class.getResourceAsStream("/atom_entry_content_update.xml"); try { document = AtomUtil.buildXmlDocument(IOUtils.toString(stream)); xmlContentHandler = new AtomXmlContentHandler(document); } catch (Exception e) { throw new RuntimeException(e); } }