@Test
public void testDoWithDomResult() throws Exception {

	DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactoryUtils.newInstance();
	DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
	Document document = documentBuilder.newDocument();
	TraxUtils.ResultCallback mock = createMock(TraxUtils.ResultCallback.class);
	mock.domResult(document);
	replay(mock);
	TraxUtils.doWithResult(new DOMResult(document), mock);
	verify(mock);
}