StAXUtils { public static XMLStreamReader getXMLStreamReader(Source source) throws XMLStreamException { return getXMLStreamReader(XML_INPUT_FACTORY, source); } private  StAXUtils(); static XMLStreamReader getXMLStreamReader(Source source); static XMLStreamReader getXMLStreamReader(XMLInputFactory factory, Source source); static XMLEventReader getXMLEventReader(Source source); static XMLStreamWriter getXMLStreamWriter(Result result); static XMLStreamWriter getXMLStreamWriter(XMLOutputFactory factory, Result result); static int skipElement(XMLStreamReader xmlReader);  }
@Test void getXMLStreamReader() throws XMLStreamException { assertNotNull(StAXUtils.getXMLStreamReader(new StAXSource(mockXMLStreamReader()))); assertNotNull(StAXUtils.getXMLStreamReader(new StreamSource(new StringReader("<element/>")))); }