microPlatform = null;
}
@Test
public void testReadRolesInSchema() throws Exception {
final MondrianCatalogHelper helper = (MondrianCatalogHelper) PentahoSystem.get( IMondrianCatalogService.class );
Assert.assertNotNull( helper );
MondrianCatalog mc = SecurityHelper.getInstance().runAsUser( "admin", new Callable<MondrianCatalog>() {
@Override
public MondrianCatalog call() throws Exception {
return helper.getCatalog( "SteelWheelsRoles", PentahoSessionHolder.getSession() );
}
} );
Assert.assertNotNull( mc );
MondrianSchema ms = mc.getSchema();