@Test
public void testDoWithSaxResult() throws Exception {

	ContentHandler contentHandler = new DefaultHandler();
	LexicalHandler lexicalHandler = new DefaultHandler2();
	TraxUtils.ResultCallback mock = createMock(TraxUtils.ResultCallback.class);
	mock.saxResult(contentHandler, lexicalHandler);
	replay(mock);
	SAXResult result = new SAXResult(contentHandler);
	result.setLexicalHandler(lexicalHandler);
	TraxUtils.doWithResult(result, mock);
	verify(mock);
}