@Test
public void testAtomParser() throws Exception {

    try (InputStream input = FeedParserTest.class.getResourceAsStream(
            "/test-documents/testATOM.atom")) {
        Metadata metadata = new Metadata();
        ContentHandler handler = new BodyContentHandler();
        ParseContext context = new ParseContext();
        new FeedParser().parse(input, handler, metadata, context);
        String content = handler.toString();
        assertFalse(content == null);
        assertEquals("Sample Atom File for Junit test",
                metadata.get(TikaCoreProperties.DESCRIPTION));
        assertEquals("Test Atom Feed", metadata.get(TikaCoreProperties.TITLE));
        // TODO Check some more
    }
}