dict.put(JDBCReportHandler.JNDI_NAME_PROPERTY, "jndi://dsf");
ContextMock context = new ContextMock(expectations);
ContextMock envContext = new ContextMock(expectations);
context.expects.lookup("java:comp/env").returns(envContext).any();
envContext.expects.lookup("jndi://dsf").returns(
new DataSourceMock(expectations)).any();
return new JDBCReportHandler(dict, context);
}