return helper.getCatalog( "SteelWheelsRoles", PentahoSessionHolder.getSession() );
}
} );
Assert.assertNotNull( mc );
MondrianSchema ms = mc.getSchema();
Assert.assertNotNull( ms );
String[] roleNames = ms.getRoleNames();
Assert.assertNotNull( roleNames );
Assert.assertEquals( 2, roleNames.length );
Assert.assertEquals( "Role1", roleNames[0] );
Assert.assertEquals( "Role2", roleNames[1] );
}