@Override
    public FeedReader createReader(
            InputStream inputStream,
            DocumentTypeManager docTypeManager,
            FeedParams.DataFormat dataFormat) {
        try {
            return new MockReader(inputStream);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
For creating MockReader of innput stream.
@author Haakon Dybdahl
vespaclient-container-plugin/src/test/java/com/yahoo/vespaxmlparser/MockFeedReaderFactory.java