}
public void testMakeContentFinderHandlesXmlaEnablement() throws Exception {
ISecurityHelper securityHelper = mock( ISecurityHelper.class );
SecurityHelper.setMockInstance( securityHelper );
when( securityHelper.runAsSystem( any( ( Callable.class ) ) ) ).thenReturn( DATASOURCE_XML );
Document content =
XmlDom4JHelper.getDocFromString(
new PentahoXmlaServlet().makeContentFinder( "fakeurl" ).getContent(),
new PentahoEntityResolver() );