### Question:
ProbeProviderStaxParser extends StaxParser { @Override protected void read() throws XMLStreamException, EndDocumentException{ providers = new ArrayList<Provider>(); skipPast("probe-providers"); while(true) { providers.add(parseProbeProvider()); } } ProbeProviderStaxParser(File f);  ProbeProviderStaxParser(InputStream in); List<Provider> getProviders(); final static LocalStringManagerImpl localStrings; }### Answer:
@Test public void testRead() throws Exception { System.out.println("read"); ProbeProviderStaxParser ppsp = new ProbeProviderStaxParser(oneProbeStream); List<Provider> providers = ppsp.getProviders(); System.out.println("oneProbeStream:"); for(Provider p : providers) { System.out.println("******** PROVIDER: *******\n" + p); } System.out.println("\n\ntwoProbeStream:"); ppsp = new ProbeProviderStaxParser(twoProbeStream); providers = ppsp.getProviders(); for(Provider p : providers) { System.out.println("******** PROVIDER: *******\n" + p); } System.out.println("\n\nstatefulProbeStream:"); ppsp = new ProbeProviderStaxParser(statefulProbeStream); providers = ppsp.getProviders(); for(Provider p : providers) { System.out.println("******** PROVIDER: *******\n" + p); } }