@Test
public void testDoWithStreamSourceInputStream() throws Exception {

	byte[] xml = "<element/>".getBytes("UTF-8");
	InputStream inputStream = new ByteArrayInputStream(xml);
	TraxUtils.SourceCallback mock = createMock(TraxUtils.SourceCallback.class);
	mock.streamSource(inputStream);
	replay(mock);
	TraxUtils.doWithSource(new StreamSource(inputStream), mock);
	verify(mock);
}