private static ApiView createApiViewFromXml(String xml) { IndexedDocument<Node, Element, Text> indexedDoc = DocProviders.POJO.parse(LineContainers.debugContainerWrap(xml)); Document doc = new DocumentImpl(createSequencer(indexedDoc), indexedDoc); return new ApiView(doc, mock(Wavelet.class)); }
private static ApiView createApiViewFromXml(String xml) { IndexedDocument<Node, Element, Text> indexedDoc = DocProviders.POJO.parse(LineContainers.debugContainerWrap(xml)); Document doc = new DocumentImpl(createSequencer(indexedDoc), indexedDoc); return new ApiView(doc, mock(Wavelet.class)); }