@Test
public void testDoWithStreamResultOutputStream() throws Exception {

	OutputStream outputStream = new ByteArrayOutputStream();
	TraxUtils.ResultCallback mock = createMock(TraxUtils.ResultCallback.class);
	mock.streamResult(outputStream);
	replay(mock);
	TraxUtils.doWithResult(new StreamResult(outputStream), mock);
	verify(mock);
}