	@Test
	public void testDoWithStaxSourceEventReader() throws Exception {

		XMLInputFactory inputFactory = XMLInputFactoryUtils.newInstance();
		XMLEventReader eventReader = inputFactory.createXMLEventReader(new StringReader("<element/>"));

		TraxUtils.SourceCallback mock = createMock(TraxUtils.SourceCallback.class);
		mock.staxSource(eventReader);

		replay(mock);

		TraxUtils.doWithSource(StaxUtils.createStaxSource(eventReader), mock);

		verify(mock);
	}