@Test
public void testDoWithDomSource() throws Exception {

	DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactoryUtils.newInstance();
	DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
	Document document = documentBuilder.newDocument();
	TraxUtils.SourceCallback mock = createMock(TraxUtils.SourceCallback.class);
	mock.domSource(document);
	replay(mock);
	TraxUtils.doWithSource(new DOMSource(document), mock);
	verify(mock);
}