final File tmpRole = VoltProjectBuilder.writeStringToTempFile(depRole);
CatalogUtil.compileDeployment(catalog, tmpRole.getPath(), true, false);
Database db = catalog.getClusters().get("cluster")
.getDatabases().get("database");
User joe = db.getUsers().get("joe");
assertNotNull(joe);
assertNotNull(joe.getGroups().get("louno"));
assertNotNull(joe.getGroups().get("lodue"));
assertNotNull(joe.getGroups().get("lotre"));
assertNull(joe.getGroups().get("latre"));
User jane = db.getUsers().get("jane");
assertNotNull(jane);
assertNotNull(jane.getGroups().get("launo"));
assertNotNull(jane.getGroups().get("ladue"));
assertNotNull(jane.getGroups().get("latre"));
assertNull(jane.getGroups().get("lotre"));
}