@Test
public void testDoWithStaxSourceStreamReader() throws Exception {

	XMLInputFactory inputFactory = XMLInputFactoryUtils.newInstance();
	XMLStreamReader streamReader = inputFactory.createXMLStreamReader(new StringReader("<element/>"));
	TraxUtils.SourceCallback mock = createMock(TraxUtils.SourceCallback.class);
	mock.staxSource(streamReader);
	replay(mock);
	TraxUtils.doWithSource(StaxUtils.createStaxSource(streamReader), mock);
	verify(mock);
}