public void testBasics()
{
InputStream stream = OpenSearchTest.class.getResourceAsStream("/opensearch.xml");
Document<Element> doc = Parser.INSTANCE.parse(stream);
TotalResults tr = doc.getRoot().getFirstChild(OpenSearchConstants.TOTAL_RESULTS);
assertNotNull(tr);
assertEquals(tr.getCount(), 47);
ItemsPerPage ipp = doc.getRoot().getFirstChild(OpenSearchConstants.ITEMS_PER_PAGE);
assertNotNull(ipp);
assertEquals(ipp.getCount(), 1);